> -----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 to a browser when the user clicks on a web > link. Is there any correct way of doing this? >
set response contenttype to image/gif content-length: to excat size of your image and send a byteArray, the image, via the response outputstream to the browser -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>