Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

struts 2.0.9 disable automatic session creation

Haroon Rafique

2007-08-08

Replies:

Hi there,

I am looking for ways to prevent automatic session creation on certain
"monitoring" pages of my site. The rest of the application will indeed
have regular session support.

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

I remember with struts 1, it wasn't exactly easy. There was a checklist
that had to be followed. Something like:

1. Make sure <controller> element has locale="false"
2. Use <%@(protected)
3. etc...

Thanks in advance,
--
Haroon Rafique
<haroon.rafique@(protected)>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.