You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark <ma...@bellsouth.net> on 2003/01/22 15:50:33 UTC

OT: sendRedirect URL not in browser history

When using sendredirect() from a servlet, the URL of the redirected page 
doesn't show in the browser's (IE 6.02) history/back button list.  For 
example, in our login servlet:

public void doPost(HttpServletRequest request, HttpServletResponse response)
                          throws ServletException, IOException
{
    ...
    response.sendRedirect("Welcome.jsp");
}

redirects correctly to Welcome.jsp, but the URL doesn't show in the browser 
history. Can someone explain why and/or how to get it to show?  We're using 
Tomcat 4.1.12 on NT btw.

Thanks in advance.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>