I dont think you can do JPGs? Can u? I thought the class only support a
GifEncoder.class?
- Jon
Gaurav Kishore wrote:
> Hi!,
> In Jason Hunters book the code for "Drawing over an image to make it
> confidential" (on pages 167-168) allows to draw an image over an
> pre-existing image, using AcmeEncoder. I am trying to run this code,
> thru Java Web Server. The clas file is in 'servlet' directory, but where
>
> should I keep the image file whose name as to be passed with the url??
>
> If I keep the image file in servlet directory itself then I get the
> error :
>
> ********
> The servlet named "invoker", at the requested URL
> http://localhost:8080/servlet/ImgCoder/xxx.jpg
>
> reported this exception:
>
> java.lang.IllegalArgumentException
>
> The administrator of this web server should resolve this problem.
> *********
>
> Any help is appreciated!
>
> TIA
> Gaurav
>
> ___________________________________________________________________________
> 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
___________________________________________________________________________
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