struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Need to disable session interceptor
Date Tue, 01 Sep 2009 11:15:54 GMT
Rajeev Sharma wrote:
> I am new to struts2 (I mean struts). I am developing an application 
> which does not need to use sessions at all. When I tested my application 
> with jmeter, I got 18000 sessions created (tomcat showed me this). Looks 
> like for every individual request there is one session created. How can 
> I remove the session interceptor at all (and other components related to 
> sessions), so that there are no sessions created in my application.

There isn't a session created for each request, there's a session per 
client conversation. Also, AFAIK, Struts 2 doesn't do anything in 
particular regarding session creation--that is handled by the container.


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

View raw message