With the forward tag your URL will not change.  No way around it.

You can however use response.sendRedirect(..) to redirect them and this will
change your URL in the browser.  However, the caveat to this is that you loose
your request object (i.e. it is reset and all variables in it are cleared out).


--- Angus Mezick <[EMAIL PROTECTED]> wrote:
> Does anyone know how to use <jsp:forward> and have it change the Location:
> window in netscape to the page you forwared to.  Say I have HelloWorld.jsp
> contain the line <jsp:forward page = "SimpleDbLogin.jsp"/>.  I want the URL
> in the bowser to read SimpleDbLogin.jsp, not HelloWorld.jsp.
>
> --Angus
>
> P.S.  Anyone know how to contact the admins for this list?
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to