struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Menard <>
Subject Re: S2 life cycle
Date Wed, 04 Apr 2007 00:01:49 GMT
On 4/3/07 7:46 PM, "tom tom" <> wrote:

> We can have one ActionForm with session scope shared
> across many action classes. (which I believe as a nice
> feature). How can I achieve such a thing in S2, In
> S2's way if we have this POJO as a Action attribute,
> what is  it's scope?
> At the same time I have heard about a interceptor
> called ScopedModelDriven interface.

You want to look at ScopedModelDriven. Basically the ActionForm just becomes
a POJO, and that POJO is shared by the various actions using the
ScopedModelDriven mechanism.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message