My application has 3 JSP pages: one is login.jsp
, and the others are loginSuccess.jsp
and loginFail.jsp
. If the username and the password in the login form are correct then it goes to the loginSuccess page but when the username and password are not correct, it doesn't go to the loginFail page.
What do I need to do to get it to work?