All this sounds about right. I suggest you not try to use multiple Stripes configurations in the same app. (Nor should you try to put Stripes in a class loader that is shared among apps.) As I understand it, one of Tim's goals when he first designed Stripes was that you should be able to use multiple configurations in a single app. However, I was unaware of that goal, and when I started contributing for release 1.5 I did some things that made doing that iffy at best. Maybe in a future release it will be OK, but not in 1.5.x.
-Ben On Thu, Apr 29, 2010 at 5:53 PM, Oscar Westra van Holthe - Kind < os...@westravanholthe.nl> wrote: > On 29-04-2010 at 17:16, Nikolaos Giannopoulos wrote: > > In Java there are 4 types of session scopes below. > > > > Clearly JSPs use "page" scope and a framework most likely will > > utilize "application scope" but does: > > > > 1) Stripes utilize "request" scope at all and if so where? > > > > 2) Stripes utilize "session" scope outside of ActionBeanContext and > > Flash Scope? > > IIRC, Stripes does not use the application scope, but instead uses a Filter > to scope a configuration to a specific set of URL's. This means you _can_ > use > Stripes with multiple configurations (whether you should is another > matter). > > Stripes uses the session scope to implement it's flash scope only. You can > use it to store ActionBean instances in the session as well, as illustrated > by the @Session annotation in StripesStuff: > > http://www.stripesframework.org/display/stripes/Save+ActionBean+fields+in+session > > Stripes uses the request scope to store the action bean for the JSP's it > forwards to. This allows the Stripes tags to access the properties and > public > fields of the ActionBean -- Stripes treats public fields as properties, as > a > convenience to not need to write boilerplate getters & setters. > > Stripes does not use the page scope for its core functionality; it may do > so > for its layout tags, but I'm not sure about that. > > > Oscar > > -- > ,-_ > /() ) Oscar Westra van Holthe - Kind > http://www.xs4all.nl/~kindop/<http://www.xs4all.nl/%7Ekindop/> > (__ ( > =/ () DRM "manages access" in the same way that a jail "manages freedom". > > > ------------------------------------------------------------------------------ > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users >
------------------------------------------------------------------------------
_______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users