This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page Caching...

 
Mandy Smith
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to avoid my jsp pages from being cached? I am right now using this
response.setHeader ("Pragma", "no-cache");
response.setIntHeader ("Expires", 0);
response.setHeader ("Cache-control", "no-cache");
but still sometimes it happens that "page cannot be displayed" Error message appears on the browser.
I am using Weblogic 5.1. Is there way in the weblogic server properties to set somewhere so that we get the information always dynamically. If so , how do i set this property.
I am really having too much of a problem most of the time in my jsp pages and rarely in servlets.
Could any one please let me know.
Thanks,

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic