If you really want a service side process to be able to cause a browser page to
refresh whenever it wants (i.e. not necessarily every interval) you could include a
little CORBA or RMI applet in your web pages that registers with a service side
CORBA/RMI service for callbacks.  Then your service can, on its own time, call the
'refresh()' method on your applet which would in turn do whatever you want.

This has all the usual drawbacks of distributed garbage collection, java applet
security and scaling difficulties if your talking thousands of browsers registering
for callbacks. But, it works.

In general, I try to avoid using any applets that use sockets since applet blocked
on a socket read/write may not/often don't dispose gracefully when you try to
browse off the page hosting them.  In fact, I try real hard to avoid applets all
around...  But, they have their limited uses and the callback is a typical one.

-MGP

"Thethi, Manmeet S" wrote:

> 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
begin:vcard
n:Potter;Matt
tel;fax:304-296-7551
tel;work:304-296-7550
x-mozilla-html:TRUE
url:http://www.careflow.com
org:CareFlow|Net, Inc.;Research & Development
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
note:CareFlow|Net, Inc. - http://www.careflow.com - Secure Software Components for Healthcare Enterprises
adr;quoted-printable:;;235 High Street=0D=0ASuite 225;Morgantown;WV;26505-5447;USA
fn:Matt Potter
end:vcard

S/MIME Cryptographic Signature

Reply via email to