Asynchronous messages from servlets

2002-01-22 Thread Ronald Wildenberg
Hi, I have the following problem. A simple form submits data to a servlet. The servlet sends a message via JMS to another application (in another JVM). Once the message has been sent, the 'service' method of the servlet ends. After a while, say five seconds, the other application would like to

Re: Asynchronous messages from servlets

2002-01-22 Thread Hans Schlenker
Ronald Wildenberg wrote: What I need is a way to push the response to the browser. I would like the server to take the initiative in updating the browser window, not the user. Is this possible in any way? No way. HTTP is a pull-mechanism: information is always requested by the client.

Re: Asynchronous messages from servlets

2002-01-22 Thread David Hewlett
On Tuesday 22 January 2002 8:50 am, you wrote: Hi, I have the following problem. A simple form submits data to a servlet. The servlet sends a message via JMS to another application (in another JVM). Once the message has been sent, the 'service' method of the servlet ends. After a while,

Re: Asynchronous messages from servlets

2002-01-22 Thread Craig R. McClanahan
On Tue, 22 Jan 2002, Ronald Wildenberg wrote: Date: Tue, 22 Jan 2002 09:50:14 +0100 From: Ronald Wildenberg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Asynchronous messages from servlets Hi, I have the following problem. A simple form

Re: Asynchronous messages from servlets

2002-01-22 Thread Bo Xu
- Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, January 22, 2002 1:04 PM Subject: Re: Asynchronous messages from servlets On Tue, 22 Jan 2002, Ronald Wildenberg wrote: Date: Tue, 22 Jan 2002 09:50:14 +0100

Re: Asynchronous messages from servlets

2002-01-22 Thread Craig R. McClanahan
On Tue, 22 Jan 2002, Bo Xu wrote: Date: Tue, 22 Jan 2002 13:41:10 -0500 From: Bo Xu [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Asynchronous messages from servlets - Original Message - From: Craig R