From: "Daniel Molina (Inter-Media)" <[EMAIL PROTECTED]>
>   If I use threads, through the Thread class, how can I can finish them
>    whenever Tomcat reloads the application that created them.

You can use a ServletContextListener which will be notified when the webapp
starts and stops.  Implement the 'contextDestroyed' method, and do your
cleanup there.

-- 
Wendy Smoak


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

Reply via email to