Howdy,
Yes, it can be used.  I've used it without a problem.  You just want to
be careful: most things you'd put as a shutdown hook in a normal program
should go in a ServletContextListener's contextDestroyed() event in a
servlet container.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Robert Priest [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 24, 2003 3:55 PM
>To: '[EMAIL PROTECTED]'
>Subject: Runtime.getRuntime().addShutdownHook()
>
>Has anyone ever attempted to use this in a servlet in Tomcat?
>
>I assume it can be used, correct?
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to