I think you will need to look into JMS to really answer this.
I think sonicMQ has an example that provides this functionality. -
www.progress.com
-----Original Message-----
From: Chris Kelly [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 17, 2000 12:38 PM
To: [EMAIL PROTECTED]
Subject: forcing browser refresh from JSP/servlet
It's slightly obscure but my problem is as follows:-
I have a JSP page which allows the browser to submit a query to the
server
and populates the page returned with values retrieved from a javabean.
This works fine but as well as refreshing the page after a request I
also
want to refresh the browser every time the javabean's properties change.
These properties can change at any time so I need a way that the server
can
force the browser to refresh but using meta tags in the JSP page is no
good
since I don't have any advanced warning of when the bean properties will
change.
As I understand it
1. an applet can refresh a page in a browser
2. a servlet can call a method of an applet using HTTP
3. a servlet can pass a request to a JSP page
so I would seem to need some kind of servlet/JSP to applet
communication.
The applet doesn't need to do anything except force the JSP page to
refresh.
Can anyone give me some pointers? Any samples would be particularly
useful.
Thanks in advance
Chris
========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets