hi,

I recently posted a message about timed servlet actions.  I agree that
starting a thread every five minutes is the way to go, but I am not clear on
a few things.  I only want to launch the thread when my servlet is called
and I want it to stop when the servlet is stopped.  I want the thread to
call my "Receive" method(every 5 min), which retrieves messages from the
mail server, and display on the current screen a new mail notification.  The
notification can be as simple as printing "new mail".  The servlet where the
thread will exist uses the doPost method because info about the user is
submitted to the servlet.  How do I implement the procedure described above?

Thanks
Duke

___________________________________________________________________________
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