How about this: Pretend I'm stupid, because apparently I am, because that article isn't helping me. Or maybe someone else can respond...
The thread at
https://coderanch.com/how-to/java/NoCacheHeaders talks about how to manually set headers. I've never needed to do that, yet somehow the client *does* seem to re-execute the JSP every time.
I just tried a test. My JSP simply returns the current time. The response headers (provided by Tomcat) are:
Content-Length:37
Content-Type:text/html;charset=ISO-8859-1
Date:Fri, 12 Aug 2011 15:09:48 GMT
Server:Apache-Coyote/1.1
Set-Cookie:JSESSIONID=DE03FA27C9F20605515197ECEF1D7BF4; Path=/Test
Nothing about the cache, as discussed in the article, yet the client *is* re-running the JSP every time I refresh the page. So why *isn't* it caching?