I think you are talking about using PUSH technology, which isn't really
implemented that well at the moment.  The focus in web products is on
clients making the navigational decisions, not the server.

If you want something to refresh at certain intervals you have a few
choices.  Using a META tag is one of them - you can also use the setInterval
JavaScript function (although I don't know why you'd use that over a META
tag for page refreshing).

Perhaps another way to do it (but an ugly way) would be to have another
frame (maybe an invisible one if you don't have anything to put in it) that
refreshes every 5 seconds or whatever using META tags and runs some JSP to
check if your main page needs to be updated - if it does, it can output some
JavaScript that refreshes the main page.  The ugly part about that is that
it tries to introduce state condition to a stateless protocol (HTTP).  It
also relies on clients having JavaScript enabled in their browser.

If you are interested in PUSH technology, here is what Allaire's HomeSite
has to say about it :


"Server Push allows for dynamic document updating via a server to client
connection that is kept open. This method (as opposed to Client Pull) is
totally controlled by the server, but the perpetual open connection occupies
valuable server resources. It's main advantage over Client Pull though, is
that using Server Push, it is possible to replace single elements within a
HTML document.

The exact Server Push mechanism is technically complex and is outside the
scope of this reference. Those that are interested in utilising Server Push
in CGI scripts, or web server based executable applications should visit the
Netscape site (http://www.netscape.com/) for more information. It should be
noted that only Netscape supports the use of Server Push."




-----Original Message-----
From: Thethi, Manmeet S [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 10, 1999 7:14 AM
To: [EMAIL PROTECTED]
Subject: Refresh on IE


Sorry to ask an off topic question,
But is there any way we can force IE/Netscape to refresh the page
whenever some server process tells them to do so.

One way is to set refresh on a page using meta tags.
Is there any other way.
I also don't want to prompt the users to refresh.
The refresh should be automatic and driven by (web)server side process.

Thanks


Manmeet

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to