>I'm trying to import classes for my servlet but keep running into no classes
found.  I'm using the
>jdk1.2.  even when using the long name for the classes (without the import
statement) the compiler
>is not able to find the classes.  are there any reported errors with the JDK
or something I must do to
>allow such import.

You need to have yuor CLASSPATH environment variable set to pick up all the
.ajr files and location of classes that your servlet uses. If you are compiling
from the DOS prompt then try

        echo %CLASSPATH%

and for (most) unix shells

        echo $CLASSPATH

and see what you have, if your required classes are not in the path displayed
then
javac won't know where to pick them up ...

If you are using an editor/GUI then you'll have to read it's help files about
putting
.jars and son on in it's classapath for compiling ...



----
CyberCyberCyberCyber Pty Ltd
 http://www.cyber4.org/cyber4/index.html
  New Media For The New Millennium

___________________________________________________________________________
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