hi thomas
this works out
res.setStatus(res.SC_MOVED_TEMPORARILY);
res.setHeader("location","HelloWorldServlet");
instead of
res.sendRedirect("HelloWorldServlet");
bye
jk
Thomas Velthoven wrote:
> Hi all
>
> When I perform a redirect in the response, The browser does not show me the
>redirected url but rather the request uri witch performed the redirect. It does show
>the right page however. I get the strange behavior that the browser does not show the
>uri of the page that it shows
>
> Does anybody know how to fix that?
>
> Thomas
>
> _____
Thomas Velthoven wrote:
> Hi all
>
> When I perform a redirect in the response, The browser does not show me the
>redirected url but rather the request uri witch performed the redirect. It does show
>the right page however. I get the strange behavior that the browser does not show the
>uri of the page that it shows
>
> Does anybody know how to fix that?
>
> Thomas
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html