I have a servlet which draws HTML page from doGet().
I want to refresh/redraw my servlet outside of doGet()/doPost().
(I have a thread in my servlet which check the variable is set to
true or not. If true I want to redraw/refresh my screen.
But I don't know how to do ?)

So I tried this way,
response.setHeader("REFRESH", 10)
in my servlet doGet().
which refresh the servlet screen every 10 minutes and it is working fine.
(here no thread )


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 ?

Tnanx in advance

___________________________________________________________________________
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