This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Page Caching... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Page Caching..." Watch "Page Caching..." New topic
Author

Page Caching...

Mandy Smith
Ranch Hand

Joined: Jun 26, 2001
Posts: 62
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,

 
Don't get me started about those stupid light bulbs.
 
subject: Page Caching...
 
It's not a secret anymore!