Shawn Sohl wrote:
>
> How do you embed an image in a servlet and pass it down to the browser.  I
> am reading "Professional Java" and they say you need to use an "Encoder"
> object that isnt available in 1.2.  Is there an "Encoder" object available
> in 1.3? and if so how do I use it?
>

 Do you want to:

  a) Merely display an image in an html page generated by a
     servlet?

  b) Take an image from the disk, read it into the servlet,
     and have the servlet send the image as a response to
     a request from a client?

  c) Have the servlet actually generate the image on-the-fly
     in-memory, and send that to the client in a response?
     (eg, have the servlet generate a custom graph in response
     to a user query)

 The answer depends...


-cks

___________________________________________________________________________
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