Re: Can servlets safely spawn threads?

2007-02-07 Thread Danny Ayers
Many thanks! On 29/01/07, Bill Au <[EMAIL PROTECTED]> wrote: If you are spawning threads from your servlet, make sure that they are cleaned up when the servlet is destroyed. Otherwise, you will have a thread leak. I have ran into this problem when the webapp is reloaded without restarting the

Can servlets safely spawn threads?

2007-01-29 Thread Danny Ayers
Hi, I would be grateful is someone could answer these questions: * Can servlets safely spawn threads? * If so, under what conditions? I tried to find the answers searching the web, but found conflicting views. So I thought it worth asking about a specific servlet container implemention. I'm tr