Results 1 to 1 of 1
Thread: Forwarding from Servlet to JSP
- 04-25-2010, 04:37 PM #1
Member
- Join Date
- Mar 2009
- Posts
- 27
- Rep Power
- 0
Forwarding from Servlet to JSP
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.
Similar Threads
-
forwarding, rewinding , stopping an audiostream using client server
By Olla89 in forum Advanced JavaReplies: 0Last Post: 04-24-2010, 08:27 PM -
how to force port-forwarding for socket on a se505 router
By j2me64 in forum NetworkingReplies: 1Last Post: 01-17-2010, 03:29 PM -
forwarding to a servlett
By dilanka007 in forum New To JavaReplies: 2Last Post: 01-17-2010, 12:23 PM -
Forwarding data problem with struts.xml
By Shaolin in forum Web FrameworksReplies: 0Last Post: 01-08-2009, 05:29 AM -
Forwarding mails in message/rfc822
By prithviraj in forum Advanced JavaReplies: 0Last Post: 05-18-2008, 10:30 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks