You can use GifServlet, available for free at
http://www.metawerx.com.au/aaron.porter
It makes dynamic generation of GIF images from a servlet easy!
Aaron
> -----Original Message-----
> From: Javeed Akthar [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 19, 1999 1:39 AM
> To: [EMAIL PROTECTED]
> Subject: what is the content type for .gif files ?
>
>
> Hi,
>
> i would like to know how to write images to the browser from servlets.
> i mean
> when u r writing text, u say
>
> servletOutputStreamobj.setContentType ("text/html")
>
> same way what is the content type for .gif files ?
>
> and do we use servletOutputStreamobj.println ( ) for writing
> image data
> ?
>
> Thanks in advance.
>
> Regards,
>
> Javed
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html