Sorry to post this "novice question" but I have exhausted all of the
resources I can find.

I cannot get a servlet to compile on my computer (Windows NT Server).  I
get the error 'Package javax.servlet not found in import.
import javax.servlet.*;'

I have the jdk1.2.2 installed--I have had no problems developing, compiling
and running java applications and applets
I downloaded both the jsdk 2.0 and 2.1  (first I downloaded 2.1, then I saw
a FAQ that said the directory that had the jsdk.jar file had to be in the
CLASSPATH--I could not find any such file, so I downloaded and ran the
setup for 2.0)
My CLASSPATH is set as follows: .;D:\CoreJavaBook;D:\JSDK2.0\bin  (this is
following the instructions in the JSDK2.0 readme file)
My PATH is set as follows:
%SystemRoot%\system32;%SystemRoot%;D:\jdk1.2.2\bin;D:\JSDK2.0\bin

I can run the servlet examples in the examples directory, but similar to
Martin Hilbert, I cannot run a servlet from the servlets directory (similar
error) which is what led me to try to compile one of the examples.

What am I missing--I know it has to be obvious.

Thanks in advance

Cheryl Bender

___________________________________________________________________________
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