Assuming there are no negative side-effects and that this works in most
compliant servlet containers, then +1

> -----Original Message-----
> From: Erik Beeson [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, March 22, 2003 10:31 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] proposed small change to ww 1.3
> 
> 
> If we're going to support a ServletActionContext.setRequest() 
> method, then I would support passing that request object to 
> the forwarded jsp, why else would you want to set the request in SAC?
> 
> --Erik
> 
> 
> On Sat, 22 Mar 2003, Morten Wilken wrote:
> 
> > hi all,
> > i proposed this a couple of days ago, but it got lost in 
> all the other 
> > mail.
> >
> > i would like to be able to change the httprequest in an 
> action using 
> > the
> > ServletActionContext.setRequest() method.
> >
> > when i use this method the most intuitive thing would be that the 
> > jsp's i dispatch to will recieve my new Request object.
> >
> > today this isn't so. in the ServletDispatcher class the original 
> > request and response object is used to forward to the jsp pages.
> >
> > what i would like was that lines similar to this:
> >
> > aRequest = ServletActionContext.getRequest();
> > aResponse = ServletActionContext.getResponse();
> >
> > were inserted into the ServletDispatcher class right after 
> the Action 
> > has been executed, and before dispatching to the jsp (ive 
> put the at 
> > lines 191 and 192).
> >
> > i really hope this gets picked up as it is more intuitive (when you 
> > set the Request object, you expect it to be set for the 
> remainder of 
> > the request), and it also solves my own little problem :-)
> >
> > sincerely
> > morten wilken
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:Crypto Challenge is now open! 
> Get cracking and register here for some mind boggling fun and 
> the chance of winning an Apple iPod: 
> http://ads.sourceforge.net/cgi-> bin/redirect.pl?thaw0031en
> 
> 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to