In the classpath include the jar file, that is
 
CLASSPATH = D:\jsdk2.1\jsdk.jar;
----- Original Message -----
Sent: Tuesday, July 06, 1999 10:53 AM
Subject: Package javax.servlet not found in import

When I compile any servlet that imports javax classes, it fails because the javax packages cannot be found.  I assume that the servlet.jar or server.jar files located in the D:\jsdk2.1 directory contain the javax classes that the compiler needs.  Thus, my classpath reads verbatim "CLASSPATH D:\jsdk2.1;D:\inetpub\servletexec\isapi\lib". How can I get the compiler to locate these classes?  Anyone care to help a frustrated beginner who is considering a different career?  Thanks in advance.
 
Vital statistics:
 
OS: Windows NT
JDK: 1.2.1
JSDK: 2.1
CLASSPATH: D:\jsdk2.1;D:\inetpub\servletexec\isapi\lib
PATH D:\Perl\5.00471\bin\MSWin32-x86;D:\Perl\5.00471\bin;D:\Perl\5.00471\bin\MSWin32-x86;D:\Perl\5.00471\bin;%SystemRoot%\system32;%SystemRoot%;d:\jdk1.2beta2\bin;d:\jsdk2.1\bin
 
Nathan
 
 
 

Reply via email to