File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

problem in caching jsp pages

 
biswajit ray
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
i m facing a problem in caching the jsp page. i have written the code like

<%
// issue HTTP directives such that this page is not cached
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
which means it will prevent the caching of jsp pages.But it is caching the jsp page. Please help me in this regard.

it is very urgent.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Duplicate of:
http://www.coderanch.com/t/292444/JSP/java/browser-not-cached

Please don't ask the same question multiple times.
Spreading the conversation out over different threads creates confusion, results in duplication of effort and, in general annoys the people who are trying to help you.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic