struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Struts2 Pre-Action
Date Tue, 02 Oct 2007 19:51:03 GMT
--- "Tom Holmes Jr." <tom@tomholmes.net> 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@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message