tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: pageContext
Date Wed, 16 Jul 2003 17:17:36 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message