A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to control Caching in JBoss
Joined: Jun 26, 2006
Jul 28, 2006 05:13:00
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.setDateHeader ("Expires", 0);
IS there any solution so that it is specified globally or can i specify it in web.xml.
Server used :
Browser : IE 6.0
Joined: Feb 05, 2001
Jul 28, 2006 11:18:00
Couldn't you just put that stuff in one jsp page that you <include> in all your jsp pages, like Header and Footer jsp pages?
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: How to control Caching in JBoss
Cache Problem in Browser -Firefox
How to avoid the internet files which will be stored in internet temporary folder?
clear cache servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014