struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils-Helge Garli Hegvik <nil...@gmail.com>
Subject Re: Need to disable session interceptor
Date Tue, 01 Sep 2009 14:13:03 GMT
> I am trying to find out why is the session created when I did not create
> the session in my code.
>
> --
> Rajeev
>

Well, I believe Struts 2 internally does request.getSession(false) to
prevent creating sessions when there isn't one... Which interceptor
stack are you using? You could also try adding <% @page session=false
%> in your JSPs and see if that helps.

Nils-H

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message