Hi Francisco..
Servlet.jar has to be in your classpath to to be visible to your java
compiler. Or another way is to us this:
javac -classpath c:\jsdk2.1\lib\servlet.jar SimpleServlet.java
Assuming your servlet.jar is in that path.
One point I would make, is that it is always good to check the list for
previously answered questions the same as yours, saves you time and saves
bandwidth. I actually answered pretty much the same question just a few
hours ago.
Good luck!
Chris
On Wed, 31 May 2000 15:34:01 +0200, Francisco Castillo wrote:
>I m novice with servlets and I'm trying to compile a servlet in my Windows
>PC who have got jdk1.2 installed.
>
>> javac miservlet.java
>
>but java cant find the servlets classes, I have download a servlet.jar file
>but i dont know what to do with it.
>
>Please help me.
>
>Francisco
>
>___________________________________________________________________________
>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