response.setContentType(...); /* image/gif or appropriate */

-Tim

Dominic Parry wrote:
Hi

I have an jsp that outputs an image. What do I need to set the pagecontext
type to in order for the browser to understand the image? At the moment it
prompts me to save the image as jspname.jsp, but If I rename the extension
to jpg, it has actually downloaded the image.

Thanks

Dom



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



Reply via email to