Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML Page caching  RSS feed

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!