With a fat client, it would be relatively easy. In the stateless request/response world of web applications, your choices are going to be fairly limited. If I had to do that, the choices I would initially think of are:
1. Wait until user submits that form to the server to check. Easiest for programmer, sloppy to the end user. 2. You could embed some sort of applet that opens up it's own connection to the server or DB and "listens" for a change event. Hopefully the browser supports applets. 3. Or maybe popup a small browser window (in addition to the form you are currently working on) that uses JavaScript to auto-submit on a timed interval to a Struts action class that checks to see if the data has been changed. That action would then either forward back to that same JSP (to keep checking, in the case nothing has been changed) or forward to another JSP that says "hey, somebody else changed this". Depending on the interval you choose, it could be a lot of extra bandwidth chatter to/from the server. HTH, Robb -----Original Message----- From: Vinay Kumar Munikuntla [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 11:15 AM To: [EMAIL PROTECTED] Subject: Notify a user if he is in a screen and the contents of that screen is updated by another user Hi I am trying to come up with best possible solution for Notify a user if he is in a screen and the contents of that screen is updated by another user. Thanks in Advance Vinay Kumar Munikuntla ----------------------------------------- This email, including any attachments, is for the designated recipient(s) only and may contain confidential, proprietary, and/or legally privileged information. If you are not a designated recipient, or have received it in error, please notify the sender and destroy it and all attachments and copies immediately, without distributing, disclosing, or using it in any manner. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]