sendRedirect « Session « JSP-Servlet Q&A





1. Servlet's sendRedirect() kills my session attributes    stackoverflow.com

I am working on a webapp in WinXP, Eclipse Indigo and Google web plugin. I have a simple form that takes a value from user (e.g email) , passes it to a ...

2. Session values still exist after using response.sendRedirect()    coderanch.com

Hi, In the send Redirect method you are just redirecting your request to another request handler and hence only your request objects are redirected to the corresponding request handler. As the current request handler and forwarded request handler are both in the same session, the session objects will persists till the session is available. Regards, M.S.Raman