Howdy,
The HTML probably looks something like this:
<frameset cols="100%,*">
  <frame src="/realContentServlet" name="content">
  <frame src="/dbPingServlet" name="pinger">
</frameset>

The DB ping servlet checks on the database and if there's a change, its
output includes javascript to bring up a popup window.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: engp0510 [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 13, 2003 12:39 PM
>To: Tomcat Users List; [EMAIL PROTECTED]
>Subject: Re: Question about Notify all online user
>
>Ben!
>Wah! Great! Could you give me more information about your
implementation?
>I am not clear with iFrame.
>
>----- Original Message -----
>From: "Ben Souther" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>Sent: Thursday, August 14, 2003 12:32 AM
>Subject: Re: Question about Notify all online user
>
>
>We're doing something like this with a hidden frame (an iFrame) that
>refreshes
>it self every n seconds (using the Meta refresh tag). The frame just
points
>to a servlet which queries the database for new messages.  If there is
a
>new
>message, the iframe uses javascript to fire off a pop up. message.
>
>You're other option would be to use an applet that maintains a
statefull
>connection to your server. A applet list would be a better place to
discuss
>that approach though.
>
>
>
>
>
>
>On Wednesday 13 August 2003 12:07 pm, engp0510 wrote:
>> Hi, all
>> How to implement notifying all online user when the record in
database
>has
>> been changed? I am using Servlet and JSP to build a small
Supply-Chain
>> system running on Tomcat with MySQL.
>>
>> Thanks
>> Zhidao
>
>--
>Ben Souther
>F.W. Davison & Company, Inc.
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to