Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic