For jpg images, should I set content type to image/jpeg or image/jpg?
On 5 Nov 2002 at 16:48, Raj Saini wrote:
In your servlet set the content type of http header to image/jpeg or
image/gif depending upon the type of the image. If you have already
written a servlet, you can figure out
-Ursprungliche Nachricht-
Von: Peter Lee [mailto:tomcatuser;shaw.ca]
Gesendet: Dienstag, 5. November 2002 11:52
An: [EMAIL PROTECTED]
Betreff: Sending GIF image from tomat web application to browser
I am trying to send GIF or JPEG images from a Tomcat web
application servlet
I am trying to send GIF or JPEG images from a Tomcat web
application servlet to a browser when the user clicks on a web
link. Is there any correct way of doing this?
Thanks
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
Message-
From: Peter Lee [mailto:tomcatuser;shaw.ca]
Sent: 5. nóvember 2002 10:52
To: [EMAIL PROTECTED]
Subject: Sending GIF image from tomat web application to browser
I am trying to send GIF or JPEG images from a Tomcat web
application servlet to a browser when the user clicks
In your servlet set the content type of http header to image/jpeg or
image/gif depending upon the type of the image. If you have already
written a servlet, you can figure out how to do this.
Raj
Peter Lee wrote:
I am trying to send GIF or JPEG images from a Tomcat web
application servlet to