tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <Craig.McClana...@eng.sun.com>
Subject Re: jsp:forward with URI's beginning with '/'
Date Thu, 13 Apr 2000 17:53:33 GMT

>Does sendRedirect() pass the current parameters along to the next page, like
>jsp:forward does?
>

If the original request was a GET, it only passes the parameters you include
on the URL you are redirecting to.  If the original request was a POST, the
browser is supposed to reforward the original parameters.

In no case do any request *attributes* (as opposed to parameters) get forwarded.
Likewise, you won't be able to access the session from outside this web app,
because sessions are also specific to an app.

>Jeff

Craig


Mime
View raw message