In the CLASSPATH is necessary put the name of the archive, as follow:
/usr/local/tomcat/lib/servlet.jar
--- Jian Zhang <[EMAIL PROTECTED]> escreveu: > Hello;
>
> Can anyone help with this compile error msg:
>
> javac HelloWorld.java
>
> HelloWorld.java:1: Package javax.servlet not found in import.
> import javax.servlet.*;
> ^
> I have included the servlet.jar in my classpath:
>
> printenv CLASSPATH
> /usr/local/jdk1.2.2/lib:/usr/local/tomcat/lib:/usr/local/ant/lib
>
> and servlet.jar is in the folder /usr/local/tomcat/lib
>
> what have I missed?
>
> Thanks in advance
>
> jian
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]