Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: [S2] forwarding values from Interceptor to Action

Dave Newton

2007-02-09

Replies:

--- S?bastien LABEY <sebastien.labey@(protected):
> I would like to forward some values from the
interceptor
> to the action it redirects to [...]

Well, you could put something in session/request etc.
if the Action implemented the proper interface, or,
perhaps a better idea, create a new interface that can
be checked for by the interceptor and the values
passed in a proper, type-safe fashion.

d.




____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.