hi there
  u must import like this

 import  java.javax.*;

  to overcome the problem ,this is in the swing package so they have it in javax.

 suria

--

On Tue, 28 Mar 2000 14:05:51   Bhakthi Liyanage wrote:
>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
>


MailCity. Secure Email Anywhere, Anytime!
http://www.mailcity.lycos.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

Reply via email to