Hi,
I have 3
jsp files
1. Login.jsp
2. MainMenu.jsp
3.ReLogin.jsp
The MainMenu.jsp file Checks the loginName and password against a database and if it is not found sends a response.sentRedirect("/test/Relogin.jsp"). It was working fine in Tomcat3.0 but after moving to Tomcat4.0 it is giving an
illegalStateException. Please help.
This is the piece of code (SS_LoginStatus is one of the session object)
else
{
session.setAttribute("SS_LoginStatus", "Invalid");
response.sendRedirect("http://localhost:8080/test/ReLoginScreen.jsp");
}
}
else{
session.setAttribute("SS_LoginStatus", "Blank");
response.sendRedirect("http://localhost:8080/test/ReLoginScreen.jsp");
}
}