Preventing to get the files from cache

I've a servlet (in one server) and a jsp file in another server.The servlet invokes/calls the jsp file.
First time,its loading from the server.But,from second time,its getting from cache.I tried using
response.setHeader("Pragma", "No-cache");
  response.setHeader("Cache-Control", "no-cache");
and also <Meta> tag  (settings).No effect.Any ideas/suggestions will be greatly helpful for me.It should goto the server everytime to invoke the jsp file not from the cache.Thanks in advance.I'm mailing in this forum,as I just wanted to know whether we can soleve this problem in javascript.
Who is Participating?
Ravindra76Connect With a Mentor Commented:
You have forgetten this tag:-

res.setHeader( "Cache-Control","no-store" );

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.