Because forwards are accomplished on the server-side, with no notification to the client that it has happened.
If you want the browser bar to update, you need to use sendRedirect(). But then you also need to be careful to use session (or a QueryString on the sendRedirect URL) instead of request objects to pass values to the next page. This is because by using sendRedirect(), you're telling the client to make a new request (hence, a new HttpServletRequest) for a different page. > -----Original Message----- > From: Abid Ali Teepo [mailto:[EMAIL PROTECTED] > Sent: Friday, July 11, 2003 9:23 AM > To: Tomcat Users List > Subject: RequestDispatcher > > > Hi > > When i use the RequestDispatcher within a first.jsp and > forward to someother.jsp that produces the output, why > doesn't the url-address in the browser show someother.jsp > instead of first.jsp ? > > Any suggestions to how i can make it show the actual jsp-file > in the url-address field of the browser ?? > > Regards > Abid > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]