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 how to do this.
> 
> Raj
> 
> 
> Peter Lee wrote:
> > 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:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to