Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Disabling servlet caching  RSS feed

 
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!