I am on RedHat 5.2,   jdk 1.1.1,  jsdk2.0
am unable to compile java servlets like for example Hello.java which
comes with apache-jserv...even though it's already compiled, I tried
recompiling using: javac Hello.java
I get the following errors:

Hello.java:5: Package javax.servlet not found in import.
import javax.servlet.*;
       ^
Hello.java:6: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
       ^
Hello.java:13: Superclass HttpServlet of class Hello not found.
public class Hello extends HttpServlet
                           ^
3 errors


I have already included classes.zip and jsdk.jar in my $CLASSPATH
I can't figure out why it's unable to find those files...
I'm new to apache-jserv and compiling java programs...if anyone could
help me out or point me to a good source of infi...i'd appreciate it.

- Spacekhar


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com


-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to