Servlets, send redirect and request scope
- From: "Berlin Brown" <berlin.brown@xxxxxxxxx>
- Date: 30 Aug 2006 15:40:26 -0700
In a typical (MVC1) application. You have a HTML-FORM posting to
servlet-A and getting request parameters/values from the request
object.
HTML-FORM ==> Servlet-A
If I have to put a redirect in between the form and A. The request
values are lost. Is there a generic way to restore those request
values. I could put all the keys/values in a session object and then
recollect the values in the servlet. But, I wish there was a generic
way that possibly avoided using the session object.
HTML-FORM ==> response?.sendRedirect ==> Servlet-A
Something like response.putRequestValue...
.
- Follow-Ups:
- Re: Servlets, send redirect and request scope
- From: Arne Vajhøj
- Re: Servlets, send redirect and request scope
- Prev by Date: Re: Windows XP with no JVM?
- Next by Date: Re: Limiting Large Result Sets
- Previous by thread: Java Threading Issues
- Next by thread: Re: Servlets, send redirect and request scope
- Index(es):
Relevant Pages
|