Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using servlet with jsp

843835Mar 9 2002 — edited Mar 25 2002
Hi I am using a LoginServlet with jsp as fromt end .
When the user enters login/password on jsp page then he is redirected to a servlet LoginServlet where he is validated against Database.If Successful i send the request to members are say any jsp page using this directive in my servlet:---
getServletConfig().getServletContext().getRequestDispatcher("/jsp/members/welcome.jsp").forward(request,response);

But my problem is that the URL ain the browser shows the url of the servlet and not the welcome.jsp page

Why is this so .I want the url of the jsp page .as all my links on the jsp page are interpreted wrt that jsp page

Any help apprecited
Its urgent
Thanking You
Mumtaz

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 22 2002
Added on Mar 9 2002
3 comments
241 views