i have a login page in which validation is done by a bean
action is done by a servlet. There is another main controller servlet which redirect according to the page user requested. now the problem is with the login servlet
/** * * @author surag * @version *this servlet is the controller of the csr login page *if the login is correct the user is redirected to the login where ssn and pin entered *otherwise user redirected to the csr welcome page */
public class CSRLoginServlet extends HttpServlet implements SingleThreadModel {
public void doGet(HttpServletRequest request,HttpServlet response) throws ServletException
{ handlerequest( request, response);
}
public void doPost( HttpServletRequest request,HttpServlet response) throws ServletException
{
handlerequest( request, response);
}
public void handlerequest( HttpServletRequest request, HttpServletResponse response) throws ServletException {