I have a servlet that downloads GIF and JPG images to the user from a repository. In essence I want the servlet to work like a regular web server, in that the content should be cached by the browser.
How do I force a servlet's content to be cached. I've experimented with getLastModified() and the various response headers, but I've not found the correct calls.
I'm using Tomcat 3.2.1 as a servlet engine.
Thanks
Dave Bolt
There is always plenty of bandwidth, just none for you.
