>So I tried this way,
>response.setHeader("REFRESH", 10)
This mechanism is also called 'client pull'.
>But i don't like this, instead i want my servlet screen automatically
>refreshed whenever the variable set to true (in thread)
>so how to refresh the page only one time whenever I need ?
What you really want is the mechanism called 'server push'.
Read all about it in Jason Hunter's book Java Servlet Programming
Chapter 6, last item (p191-194)
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
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