Re: Run a thread in a servlet
Posted By:
AlessandroA_Garbagnati
Posted On:
Tuesday, March 4, 2003 03:18 AM
Ciao Eduardo,
But if you want a thread to live for the entire lifecicle of a Servlet, why don't you have it started in the init() method of the servlet (and stopped in the destroy())?
Or you need to start one thread every time the servlet gets a new request?