W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1999

force browser to reload html

From: Bi, Xiaolian <Xiaolian_Bi@tri.sbc.com>
Date: Wed, 26 May 1999 11:51:10 -0400 (EDT)
Message-ID: <6C5FB3C08FCBD1118EE600805FEA9CC201E1A4A2@trimail.tri.sbc.com>
To: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
I have a servlet that write out an html file (homepage.html) with some
runtime dynamic information. Then the serlvet output a page that has 2
frames. One of the frame's src is the newly generated homepage.html

Apparently the browser does not reload the homepage.html even through the
content of this file got changed unless I hit the browser's (Netscape)
reload button. I looked up the status codes on HttpServletResponse.
SC_RESET_CONTENT says it means "the request succeeded and the browser should
reset (reload) the current document view". It sounds like what I need. So I
tried it, but it doesn't work as I want it (basically I want the
homepage.html reloaded to reflect the changes).

Is there a way from servlet to force the browser to reload an html from the
web server instead of just displaying its cached version?


Received on Thursday, 27 May 1999 18:48:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:34 UTC