This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IE 5.5 Page Reload Issues

 
Paul Hitchcock
Greenhorn
Posts: 1
  • 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
  • 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
  • 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">
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic