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/ (__ ( =/ () 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