You alse include servlet.jar in your CLASSPATH of User Variable.
You can find servlet.jar in JSDK.
-----­ì©l¶l¥ó-----
±H¥óªÌ: Bhakthi Liyanage <[EMAIL PROTECTED]>
¦¬¥óªÌ: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
¤é´Á: 2000¦~3¤ë28¤é PM 03:38
¥D¦®: simple problem-but....

>hi guys,
>I've set my path as follows
>
>PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;c:\jdk1.2\bin;c:
>\java
>
>but when i compile the code it gives the following errors.pls tell me how
>to over come this problem.
>
>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
>
>
>Thanks in advance
>
>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
>

Reply via email to