File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IE 5.5 Page Reload Issues

 
Paul Hitchcock
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I hit back (or JavaScript history.back())
to go back to my JSP page, it does not reload.
I've tried the classic
<%
response.setHeader("Pragma", "No-cache");
response.setDateHeader("Expires",0);
response.setHeader("Cache-Control", "no-cache");
%>
but this does NOT work on IE 5.5.
Any ideas?
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul:
While I don't know the answer readily, I know that such topics have come up in the forum before. Instead of waiting for someone (more knowledgeable than me.. ), if I could suggest, I would recommend the search tool. Search keywords like for "reload" or "no cache" in the JSP or the Servlets forum.
Also you can't post a link to the search results, so I can't perform the search for you, I would if I could.
Good Luck and Welcome to Javaranch.
- satya
 
Biju Nair
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just try this in your html that is output. It will prevent caching by the browser.
<META HTTP-EQUIV="expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

or this to refresh you page automatically.
<META HTTP-EQUIV="Refresh" CONTENT="0">
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic