>>> Duke Martin <[EMAIL PROTECTED]> 9/7/99 5:24:47 PM >>>
>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.

If you're saying what I think you're saying you're going to be
disappointed.

Because the web is "client driven" there is no easy way to add "new
mail" to an html page.

The user has to submit a request before you can alter the page.

You can do it (with client pull or server push) but it is a bit
complicated and a bit nasty.

The simplest way is to simply have a check in your doPost() which
checks the mail whenever the user calls the servlet and adds the mail
status to the page at that point.

___________________________________________________________________________
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