Tomcat Caching?
Hi all,
I have written a jsp page that creates a java object. When constructed, this object sends a message through ActiveMQ to a broker. The page works. However, it only sends a message once or twice, and on subsequent refreshes, it doesn't send any more. Is this a tomcat caching issue or a browser caching issue? i do have the no-cache statements:
response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");
response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
response.addHeader("Cache-Control", "post-check=0, pre-check=0");
response.setHeader("Pragma", "no-cache");
Any ideas?
|