This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

browser hangs unless options changed

 
Joe Guzzardo
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 401
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Get a real browser!
 
Joe Guzzardo
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1376
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Joe
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic