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.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to