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:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to