Hey guys


I'm trying to login to my system using a jsp file, the jsp file is supposed to check if the username and password is correct. Then, it passes the username and the user type(admin/normal user) to the Loginservlet to check and determine what page to go to based on the user type. the problem is that in the LoginServlet, I am trying to direct the user (based on their login type) to the appropriate page, but the intended page does not appear, I have tried Using "response.redirect("/Adminstration.jspx), but it did not work, then I tried using "dispachter.forward.....", again it did not work. I have to mentioned that there is another servlet in the system which is responsible for handling all other requests.

Please Help.