This works for me. specify the date for content i am doing 2 days before the
current date.
<META CONTENT="4 Jan 2000 20:09:21 GMT" http-equiv="Expires"> i am not sure
how it works with images. it shows the same result like no date given when i
tried to look in netscape.
Madhavi

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Isabelle Bourret
Sent: Thursday, January 06, 2000 11:56 AM
To: [EMAIL PROTECTED]
Subject: Re: set expiration for images


Jacob,

Thanks for your answer, but I don't think it will solve my problem.
The point is that this set the expiration date and the cache option on the
html document that is sent but not on its content (i.e. the images).
If you use Netscape to view the info on the document, you will see that the
expiration and the cache are correct there, but if you select an image
contained in this document, you'll see something like:

Source:Currently in disk cache
Local cache file:MUETCIVP.PNG
Expires:No date given


So, I'm really looking for a way to set these properties on something
contained in the html rather than on the html itself.
Thanks for any idea

Isabelle

___________________________________________________________________________
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

___________________________________________________________________________
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