struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Haroon Rafique <>
Subject Re: struts 2.0.9 disable automatic session creation
Date Wed, 08 Aug 2007 20:46:17 GMT
On Today at 4:16pm, HR=>Haroon Rafique <> wrote:

HR> [..snip..]
HR> Any one has any recipes they want to share? I'm using struts 2.0.9 
HR> with sitemesh decorators and freemarker as the view.

Since I use sitemesh, I think I know the culprit is sitemesh. I found the 
following at the bottom of:

Do not create sessions unless you need them.

Struts 2 does not create sessions unless asked to (for example, by having 
the createSession interceptor in your interceptor stack). Note that when 
you use SiteMesh however, a session will always be created (See for details).

Haroon Rafique <>

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

View raw message