Hi everybody!
I have a servlet that gets a filename (of an image) as parameter, loads that
image, creates a thumbnail and sends it back to the client.
I want the use the servlet in my html pages like this: <img
src="http://host/servlet/Thumbnail?file=image.jpg">.
The upload of the image and the scaling works fine but I have a problem with
sending the image to the client:
I have a javax.media.jai.RenderedOp-object and need to write it to the
client as something that has the content type image/jpeg. How do I do that?
(Maybe this question or a similar one was answered before: I couldn't search
the archives!!!)
Thanks in advance.
Michael Weller
___________________________________________________________________________
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