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

Reply via email to