Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML Page caching

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm facing problem in desabling html page caching through jsp.
i've tried using following methods:
1)
response.setHeader("pragma","no-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires",0);
2) <META HTTP-EQUIV="expires" CONTENT="0" >
<META HTTP-EQUIV="Cache-control" CONTENT="no-cache" >
I'm using
IBM WebSphere 3.5
IBM HTTP web server
Netscape navigator 4.7
Please reply me back on shivad@mastek.com
Thanks
Siba Das
 
Sanjay pts
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thnik you did not have included this 3 line code at beginning of JSP. So please included this lines at the first line of JSP.I think that will be sort out your problems.
Bye
Thanx
patel
 
You showed up just in time for the waffles! And this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!