Hi,

  I think the problem is with the import statement. You have to use
javax.servlet
not java.servlet.

Manoj

Yvan douenel wrote:

> Hi,
>
> I've installed jdk1.2.2 (C:\jdk1.2.2) and
> jsdk2.0.(C:\jsdk2.0)
> I'm working with windows 95.
>
> When I perform under dos :
> Echo %PATH%, the answer is :
> C:\jdk1.2.2\bin;
>
> Echo %CLASSPATH%, the answer is :
> C:\jdk1.2.2\lib\tools.jar;C:\JSDK2.0\lib\jsdk.jar;
>
> Echo %JAVA_HOME%, the answer is :
> C:\jdk1.2.2;
>
> When I perform :
> Javac HelloWorld.java, the answer is :
> HelloWorld.java:2: Package java.servlet not found in
> import.
>
> HelloWorld.java:5: Superclass HttpServlet of class
> HelloWorld not found.
>
> 2 errors
>
> Could you please explain me what I've to do for it
> works
>
> Thanks
>
> Ivan
>
> __________________________________________________
> Do You Yahoo!?
> Thousands of Stores.  Millions of Products.  All in one place.
> Yahoo! Shopping: http://shopping.yahoo.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

___________________________________________________________________________
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