Hi,

There is an article at javaworld.com which adresses this particular problem,

http://www.javaworld.com/javaworld/jw-03-2000/jw-03-pushlet.html

Don't ask me more I did not tried it.

Hope this helps,
X.Cosyns,


Original Message -----------------------
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 send back a response. How do I show this response
to the user?

Since the 'service' method has finished after sending the
message, I have lost control over the output from the other
application.

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?

Thanks in advance,
Ronald Wildenberg

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to