HI,
I have few
jsp pages and in order control the cache i set the header info to "no-cache". It's working fine but my problem now is i am repeating this "header" info almost in every jsp page.
response.setHeader("Pragma", "no-cache");
response.setHeader("Pragma", "no-store");
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Cache-Control", "no-store");
response.setDateHeader ("Expires", 0);
IS there any solution so that it is specified globally or can i specify it in web.xml.
Server used :
jboss 4.0.3SP1
Browser : IE 6.0
Thanks,
Paul