title: How should I redirect the second page in Spring framework
body: <p>My application has 3 JSP pages: one is <code>login.jsp</code>, and the others are <code>loginSuccess.jsp</code> and <code>loginFail.jsp</code>. 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.</p>
  
  <p>What do I need to do to get it to work?</p>