Hi there, I am new to servlet and to Java. I imported javax.servlet.* and
import javax.servlet.http.* but javac complained that it could not find it.

"Package javax.servlet not found in import. import javax.servlet.*;

^
"Package javax.servlet.http not found in import. import
javax.servlet.http.*;

^
The java.io.* seems to be ok as expected.

I have downloaded the JSDK2.1 and set the env path to it. In the docs,
javax.servlet is an extension to the JDK core but javac don't seemed to
recognize it. I also have JDK2.1 and Visual Studio 6.0 (Sp2), on my system,
and I don't think VJ++ is getting in the way. It must be something that I
have not done or try. The JSDK2.1 is kinda "empty", except for 2 jar files,
the runner, and bunch of htmls, there's not much in there. Is there some env
that I needed to set to make this compile.

I am trying to compile the example on NT 4.0 (Sp4), with  IE5.0
beta2,JDK1.2, JRE1.2 and JSDK 2.1 on my system.

Thanks a bunch in advance.

___________________________________________________________________________
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