(I have not tried it)

In JS do:

var canceln = new Image();
canceln.src = "/servlet/ImageServlet/imageOne";
var cancela = new Image();
cancela.src = "/servlet/ImageServlet/imageTwo";

Then in HTML use JavaScript to play with these images as if they were static.

dave.

Sandeep wrote:

> Hi All,
>
> We are using GifEncoder to create gif files from java.awt.image class in the
> servlet. This servlet then sends this generated gif as to the client. At
> present we send only one gif file at a time  without any html in it.
>     What we want is to send 4 or 5 gif (generated) files from the servlet to
> the client and then be able to show the gif files one at a time depending on
> selected item in the combo box. i.e we thereafter want to manipulate the gif
> files programatically from the javascript as if they had been on the client
> in the first place. We somehow want to obtain the names of the gifs
> generated on the fly in the servlet. At the same time we donot want to use
> FileOutputStream on the servlet and create files physically on the server
> and thereby consume server's resources.
>     How does one do this?
> -thanks
>   Sandeep.
>
> ___________________________________________________________________________
> 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

--
David Mossakowski              [EMAIL PROTECTED]
Programmer                           212.310.7275
Instinet Corporation

"I don't sit idly by, I'm planning a big surprise"

___________________________________________________________________________
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