RE: how to pop up a window requested by server

2007-06-29 Thread Asensio, Rodrigo
ds Rodrigo Asensio www.rodrigoasensio.com -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Thursday, June 28, 2007 3:14 PM To: Tomcat Users List Subject: Re: how to pop up a window requested by server There is no way with HTTP protocol to push datas to client. To push

Re: how to pop up a window requested by server

2007-06-28 Thread David Delbecq
There is no way with HTTP protocol to push datas to client. To push, you will need other protocol, and then an awfull heavy applet. On the other hand, you could, simply, run aside on the server an IRC service and use one of the existing IRC applets that exist opensource... Dave a écrit : > Thanks

RE: how to pop up a window requested by server

2007-06-28 Thread Caldarale, Charles R
> From: Dave [mailto:[EMAIL PROTECTED] > Subject: Re: how to pop up a window requested by server > > Is there a way for server to push something to client? Only if the client is listening for it. Your applet could establish a listen on some agreed upon port, and the servlet

Re: how to pop up a window requested by server

2007-06-28 Thread Dave
Thanks for ideas. But the poll is consuming resource even when no messages. Is there a way for server to push something to client? Thanks! David Delbecq <[EMAIL PROTECTED]> wrote: If you use Ajax4Jsf, you can use a4j:poll to have a part of your page refreshed every x milliseconds using

Re: how to pop up a window requested by server

2007-06-28 Thread David Delbecq
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 appli