If you start a separate thread in init(), it will keep
running as long as the JVM is alive unless you explicitly
destroy it.  A session thread stops when the session is
terminated or times out.

Jason Hunter covers servlet-based email in Chapter 19 of
"Java Servlet Programming, 2d. ed.," pp. 550-555.

Mark

-----Original Message-----
From: B Public [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 8:25 PM

When the session expire, what happens then? Does the thread stop, or
is it just the client output that fails?

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to