tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BAO RuiXian <ruixian....@pp.inet.fi>
Subject Re: servlet question
Date Sun, 21 Sep 2003 09:42:53 GMT
Bruno Costacurta wrote:
> It seems you miss J2EE.
> After installation (from www.java.sun.com/j2ee) 
> you should find j2ee.jar (under $J2EE_HOME/lib/) which contain javax.servlet.*
> Hope it helps.

Maybe. But, there should also be a servlet.jar in
%TOMCATHOME%/common/lib directory. At least I have it for my tomcat
4.18. And water autumn cannot find it in TOMCAT 5.0.0

Best

Bao

> On Saturday 20 September 2003 17:45, water autumn wrote:
> 
>>hello:
>>   My environment is follow:
>>              JDK :  j2sdk_1.4.2_01
>>              Web Server :  TOMCAT 5.0.0
>>   When i devloped servlet program, such as test.java, while i typed this 
>>line :
>>"import javax.servlet.*;", javac tell me the error:
>>"
>>F:\JAVA\upload\AccUpload.java:8: package javax.servlet.http does not exist
>>import javax.servlet.http.*;"
>>
>>why? can you tell me how i can resolve it?
>>i can't find serlet.jar in directory"TOMCAT\common\lib"
>>
>>                                                       water autumn



Mime
View raw message