struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Schröder <simon.v...@gmx.de>
Subject Is HttpSessionListener a singleton and/or initialized by Spring?
Date Wed, 10 Dec 2008 10:17:30 GMT

I have a Struts 2 webapp with Spring 2.5 as ObjectFactory.
I have a HttpSessionListener-Class which is configured in web.xml:

<listener>
  <listener-class>util.servlet.UserTimeoutListener</listener-class>
</listener>

I assume that 
1) this class will be instanciated as a singleton.
2) Spring will have nothing to do with the instanciation.

Am i right on both accounts? 

/Stephan
-- 
View this message in context: http://www.nabble.com/Is-HttpSessionListener-a-singleton-and-or-initialized-by-Spring--tp20932453p20932453.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message