Jose Luis Diaz wrote:
> Does anyone knows how to do a kind of forward but not having the url of the
> old page but the new onw (the one I want to forward to).
>
> It could be making a forward or any other posible solution.
>
> Thanks a lot.
>
HttpServletResponse.sendRedirect() instead. Remember, the display of the current
URL is a client side function, so you have to do something at the client side to
change it.
Of course, your user will pay a performance penalty for this, because it takes an
extra round trip. If the URL being shown is that big a deal (personally, I think
web developers tend to be too obsessive about this), you have a couple of
alternatives to hide it from casual observation (any modestly experienced user can
still find out):
* Run your app in a framed environment
* Run your app in a window that has no
location bar (this is set up with a
JavaScript window.open() function).
Craig McClanahan
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html