Struts2 Pre-Action 2007-10-02 - By Dave Newton
Back --- "Tom Holmes Jr." <tom@(protected)> wrote: > Basically, I want to call a pre-Action action that > loads a bean into a session and then calls a JSP page > ... simple right?
Right.
> Is that all I need? Is there anything else? Can > you send me some links for examples?
What exactly are you asking / what do you want an example of? How to put something into session? How to implement a "pre-action"?
There are several ways you could implement this functionality; implement Preparable, action chaining, an interceptor (probably more trouble than it's worth for this use-case)...
d.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|