Since you can't really push with http, how about setting a flag that tells
your servlet to only serve your "The service is going down in xx minutes.
Please log off" page with a nice big logoff button. Once all the sessions
have been invalidated, you can shut down immediately, otherwise after some
time period had expired I'd assume the sessions were stale and shut down
anyway.
(*Chris*)
----- Original Message -----
From: Lance Lavandowska <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 23, 1999 6:04 AM
Subject: Re: Message from servlet
> 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
>
___________________________________________________________________________
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