Ok, I usually let questions like this go... but this time, I'll bite. Why would you *want* to set a request attribute in an action?
That's the kind of ugliness you need to do in Struts, not Webwork. :) But to your question, I believe ActionContext.getParameters().set (name,value) would work as well... without needlessly coupling your action to ServletActionContext. -Tim. Quoting Jason Carreira <[EMAIL PROTECTED]>: > ServletActionContext.getRequest().setAttribute(...) > > -----Original Message----- > From: Fred Lamuette [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 2:59 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Set attributes in an Action > > How to set elegantly a request attribute in an action > (request.setAttribute(name,value)) ? > Cheers. > Richard. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork