Jignesh Patel wrote:

If we will use HttpSessionListener,
will tomcat implement seperate listener for all the Sessions or it will be common for all the sessions?


The latter. Tomcat (or any other servlet container) will create a single instance of your listener for each <listener> element in web.xml. The event parameter that is passed in includes a reference to the HttpSession that this event relates to.

-Jignesh


Craig




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to