You need to specify your classpath like this:
d:\jsdk2.1\servlet.jar
Jeff
--------------------------------------------------
Jeff Hughes ([EMAIL PROTECTED])
Software Engineer
Micron Technology, Inc.
Phone: (208) 368-3542
-----Original Message-----
From: Nathan Pienkowski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 06, 1999 8:54 AM
To: [EMAIL PROTECTED]
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\MSWi
n32-x86;D:\Perl\5.00471\bin;%SystemRoot%\system32;%SystemRoot%;d:\jdk1.2beta
2\bin;d:\jsdk2.1\bin
Nathan
___________________________________________________________________________
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