>I was also playing with the same thing. GifEncoder has a peculiar
>problem, this class extends another class ImageEncoder, therefore, when I
>run the servlet, the browser always shows "NoClassDefError" , something
>like that for ImageEnocder class, whereas I placed the both ImageEncoder
>and GifEncoder class in the same directory (C:\jdk1.3\jre\classes) where
>they should be placed so that Java compiler can use the compiled classes.
>From this, I suppose the servlet get compiled without error. So, one might
guess that you are not using the same JRE for compiling and for running the
servlet.
Are you sure you don't have a standalone version of the JRE installed ? In
that case, you should install your support classes there too. Note that you
don't need to install the standalone JRE to have it installed. It is
automatically installed with programs like Adobe Photo Deluxe or Netscape
Navigator 6, even if you already have the JDK installed. In that case, it is
located in Program Files\javasoft
Pierre-Yves
___________________________________________________________________________
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