Hi,
I am a beginner to Java using the WindowsNT platform.
I just got a sample of servlet source - one of the
"HelloWorld.java" which contains statements
[import javax.servlet.*; import javax.servlet.http.*; ...].
I have full download of JDK1.2.2 and have set
PATH=JDK1.2.2\bin. I can compile successfully on
non-servlet.java.
However, I got errors when compiling a servlet.
C:>javac HelloWorld.java
errors: package javax.servlet not found in import
import javax.servlet.*;
^
package javax.servlet.http not found in import
import javax.servlet.http.*;
^
Superclass HttpServlet not found
public class HelloWorld extends HttpServlet
^
Do I need more setting such as PATH? Do I need more
download such as JRE1.2.2 too? or else??
Thanks,
Eric.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
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