File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes browser hangs unless options changed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "browser hangs unless options changed" Watch "browser hangs unless options changed" New topic

browser hangs unless options changed

Joe Guzzardo
Ranch Hand

Joined: Mar 14, 2000
Posts: 57
I've got a collection of JSP pages with dynamic content. My problem is the browser (Internet Explorer) hangs unless I set the Internet Options to check for newer versions of stored pages on every visit to the page. I have set the http header options to indicate the page is expired when sent by setting: response.addHeader("Expires", "Thu.01.Dec.1994.16:00:00.gmt"). When I look at the contents of the temporary internet files I see that the pages expired an hour prior to the time they were downloaded, which should be okay. Any ideas?
Garrett Smith
Ranch Hand

Joined: Jun 27, 2002
Posts: 401
Get a real browser!

comp.lang.javascript FAQ:
Joe Guzzardo
Ranch Hand

Joined: Mar 14, 2000
Posts: 57
I have no love for Microsoft but Internet Explorer has the majority share of the web browser market, and this is killing me.
Joe Pluta
Ranch Hand

Joined: Jun 23, 2003
Posts: 1376
I use the following tag:
<meta http-equiv="expires" content=" ">
With this tag, IE works fine with the "check for newer versions" flag set to automatically.
And while I have no great love for MS, IE's implementation of the Document Object Model make it much more powerful for building applications than Mozilla. The ability in particular to trap and modify keystrokes is crucial to my users.
I agree. Here's the link:
subject: browser hangs unless options changed
It's not a secret anymore!