Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing 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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic