if you can paramatrizie your image you could have an
<IMG SRC="/servlet/ImgGen?a=x"> tag and this would call the servet that
generates the image, this could be included in your normal HTML page.

I use this technique to get images from a database.

chris devenoges
romania

>snip
> The Servlet that I'm developing generates images on-the-fly. I want to
> include these images into the output HTML code. Is it possible to send the
> image data along with the HTML code?
>another snip
> The only working solution that I know of is to save the image to a temporary
> file and include an img tag to that file in the  HTML code. But each image
> shall only be displayed once, so it should be a lot cleaner to include the
> image data into the HTML code.
>more sniping

___________________________________________________________________________
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

Reply via email to