Yes.  I should have mentioned that I used a marker interface.



Dave Newton <[EMAIL PROTECTED]> 
09/18/2008 02:30 PM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
Struts Users Mailing List <user@struts.apache.org>
cc

Subject
Re: Struts 2: How can we save the parameters if we do redirect and not 
redirect-action







There's no extra code in the action. The code is in the interceptor. The 
action (I'm assuming) implements a marker interface to inform the 
interceptor that it should put the request parameters into the session.

IMO doing this in a custom result is the wrong way to go about it, for 
several reasons; one is that the interceptor approach works no matter what 
result type you end up using.

Dave





This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are addressed.
 If you receive this e-mail in error please notify [EMAIL PROTECTED]

Reply via email to