Thread t = new Thread();
t.setDaemon(true);
t.start();

----- Original Message ----- 
From: "Corey Baswell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 09, 2004 4:18 PM
Subject: Spawn New Thread


> Hello,
> 
> I'm trying to figure out what the proper way for spawning a new thread in 
> Tomcat is.  I can create a new thread when my servlet is first loaded, but 
> it does not get closed down when tomcat does. Is there anyway to register a 
> new thread with Tomcat so that it will get closed when Tomcat goes down?
> 
> Thanks for any help,
> Corey
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to