Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling servlet caching

 
Ankit Gandhi
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We are facing a very typical problem using WebSphere server. The feature of Servlet Caching is enabled on the server side.

How do I disable the same using some code? For running a particular servlet, I want that caching should not come in picture. And everytime the servlet should run.

Any pointers would be helpful.

Thanks,
ankit
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you refering to the servlet instance or the output of the servlet?
 
Ankit Gandhi
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The output of the servlet
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure it's the server caching and not the browser?

Our JSP FAQ has an entry on caching.
I has the necessary meta tags to add to your pages to prevent browser caching.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic