You could have all of your JSP's check for the presence of an application variable. If the variable is found, a JavaScript popup window can be made to appear the next time the server sends a response and the appropriate message can be displayed. Note that the message will only appear once a client makes a request to the server. If a client doesn't send a request to the server between the time that you decide to send the message and the time you shut the server down, they won't get a notification. There are other things you could possibly do such as run applets on the client's browser and have the server send messages to the applets, but I personally don't think it is worth the trouble and added overhead.
Regards, Richard At 10:41 AM 8/21/2002 +0800, you wrote: >Hi all, > >I have an application running on Tomcat. If I want to shutdown for >maintenance. How do I broadcast a message to all the on-line user ? >Kindly provide any pointer if possible. > >Thanks. > >Regards, >KL > >___________________________________________________________________________ >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 ___________________________________________________________________________ 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