Is it against the servlet specification to create threads
from inside a servlet ?

I am using java.util.Timer & java.util.TimerTask to initiate
some background work (sending email) from a servlet. The 
java.util.Timer class implicitly creates a background thread.

Right now this is working fine but I wonder if I am going 
to run into trouble with future versions of tomcat.

If creating threads is against the spec. is there a recommended
way of performing background tasks.

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to