you forgot to include the jar class for servlets in your path..
the jsdk.jar..
>From: Bhakthi Liyanage <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: simple problem
>Date: Tue, 28 Mar 2000 14:15:44 +0600
>
>hi guys,
>I've set the path as follows;
>PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;c:\jdk1.2\bin;c:
>\java
>when I compile my source code it give the following errors,
>C:\java>javac HelloClientServlet.java
>HelloClientServlet.java:2: Package javax.servlet not found in import.
>import javax.servlet.*;
> ^
>HelloClientServlet.java:3: Package javax.servlet.http not found in import.
>import javax.servlet.http.*;
> ^
>HelloClientServlet.java:5: Superclass HttpServlet of class
>HelloClientServlet no
>t found.
>public class HelloClientServlet extends HttpServlet
> ^
>3 errors
>pls.,someone tell me how to overcome this problrm.
>thank u
>Bhakthi
>
>___________________________________________________________________________
>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
______________________________________________________
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