0

My servlet checks the entered username and password. For ex: If username is null then I am setting error in the request i.e request.setAttribute(). If credentials are valid then I forward the request to welcome page. How do I write test cases for RequestDispatcher and request.setAttribute() methods.

Shilpa
  • 61
  • 1
  • 8

0 Answers0