Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 3345 invoked from network); 28 Jun 2007 13:08:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jun 2007 13:08:39 -0000 Received: (qmail 35884 invoked by uid 500); 28 Jun 2007 13:08:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 35863 invoked by uid 500); 28 Jun 2007 13:08:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 35852 invoked by uid 99); 28 Jun 2007 13:08:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 06:08:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of delbd+jakarta@oma.be designates 193.190.231.71 as permitted sender) Received: from [193.190.231.71] (HELO bonnie.oma.be) (193.190.231.71) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 06:08:24 -0700 Received: from bonnie.oma.be (localhost [127.0.0.1]) by bonnie.oma.be (8.13.6/8.11.1) with ESMTP id l5SD82Qa010176 for ; Thu, 28 Jun 2007 13:08:02 GMT Received: from [193.190.249.120] (cal-12.oma.be [193.190.249.120]) by bonnie.oma.be (8.13.6/8.11.1) with ESMTP id l5SD82Eq010171 for ; Thu, 28 Jun 2007 13:08:02 GMT Message-ID: <4683B28F.7020307@oma.be> Date: Thu, 28 Jun 2007 15:07:27 +0200 From: David Delbecq User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: how to pop up a window requested by server References: <972838.16605.qm@web35513.mail.mud.yahoo.com> In-Reply-To: <972838.16605.qm@web35513.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org If you use Ajax4Jsf, you can use a4j:poll to have a part of your page refreshed every x milliseconds using javascript. In this part you could put your code to popup something on B if there are new messages. En l'instant pr�cis du 28/06/07 14:36, Dave s'exprimait en ces termes: > We have a JSF application running on JBoss/Tomcat, and have a requirement for users to send short instant messages. When user A sees user B online and wants to talk with him/her: > > 1. A clicks a button, pop up a window to chat with B > 2. On B's machine, pop up a chat window. > > How to implement the second? We think about using Applet, are there other ways ? > Thanks for any idea on how to implement this for JSF application. > > Dave > > > > > --------------------------------- > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org