I think the error has nothing to do with the path.. it has everything to do
with your classpath.. try to find all your jar files, then make a classpath
to point to that jar files. Example, if you find these jar files in your
harddrive:
c:\jdk1.2.2\lib\abc.jar
c:\blabla\xyz.jar
then you should set your classpath into:
CLASSPATH=c:\jdk1.2.2\lib\abc.jar; C:\blabla\xyz.jar
btw, what web server are you using?
-vera-
----- Original Message -----
From: Bhakthi Liyanage <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 28, 2000 2:31 PM
Subject: 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
___________________________________________________________________________
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