<thinking out loud a bit and making some sweeping assumptions>
one could layout the site/application with frames
one smallish frame somewhere could be specified as "late breaking
news"
a switch could be thrown on the server indicating that the "late
breaking news" frame should include a meta/refresh tag which
will poll the server for a "server will shut down in x minutes"
message at a decent interval
if this switch is thrown with enough advanced notice you should
catch active clients and those you don't catch aren't necessarily
active and are likely to have their session timed out anyways
dependent upon your local session time-out policies
</thinking out loud a bit and making some sweeping assumptions>
- james
>
> Lance Lavandowska wrote:
>
> > Considering the nature of html/http, I'd have to say no. One way to work
> > around this would be to embed an applet in every page served which
> > implements a listener on your "warning servlet". Then, your servlet could
> > notify its listeners and they could display the warning message. Hardly
> > an elegant solution, but the only one I see.
> >
> > Lance Lavandowska
> > Software Engineer
> > http://www.AgDomain.Com
> >
> > -----Original Message-----
> > From: MSANDIP <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > Date: Wednesday, June 23, 1999 6:50 AM
> > Subject: Message from servlet
> >
> > >Hi,
> > >
> > >Is it possible to broadcast a message from servlet to all the active
> > >application users.
> > >Basically I have a 3 tier application with client developed using HTML
> > >forms, javascript and servlet working as a middle tier. Now whenever
> > there
> > >is a plan for application shutdown, I want to send a message to all the
> > >users asking them to log off the application.
> > >Any suggessions, pointers in this direction are welcome.
> > >
> > >TIA,
> > >Sandip
> > >
> > >_________________________________________________________________________
> > __
> > >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