Hi,

Use the -classpath parameter, like this:
javac -classpath c:\jsdk21\servlet.jar SimpleServlet.java

Jianhong

-----Original Message-----
From: Larry Miller <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, May 27, 1999 8:34 PM
Subject: javax package problems


>I have downloaded the JSDK. I am trying to compile a servlet
>(SimpleServlet.java) ->
>javac SimpleServlet.java
>I get 3 import errors (on the javax.servlet.* package - it can not find
>it)
>I have tried including the path in CLASSPATH and have moved the javax
>directory to the same directory I am
>compiling from. Either way, it can not find the javax.servlet package!
>Do I have to compile the package before using it?
>
>Thanks
>Larry
>
>___________________________________________________________________________
>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