pb de compil d'un servlet et tomcat
Salut!
j'ai un chti pb avec mon tomcat.
je veux compiler un servlet qui apl le package servlet.jar.
mon classpath:
CLASSPATH=/usr/share/tomcat4/common/lib/servlet.jar
et
<shoe@shoegoolin> ~/java/linuxmag/web\ $ l /usr/share/tomcat4/common/lib/
total 60k
-rw-r--r-- 1 root root 23k May 26 17:11 naming-common.jar
-rw-r--r-- 1 root root 35k May 26 17:11 naming-resources.jar
lrwxrwxrwx 1 root root 29 Jun 13 23:55 servlet.jar ->
../../../java/servlet-2.3.jar
lrwxrwxrwx 1 root root 28 Jun 13 23:55 xercesImpl.jar ->
../../../java/xercesImpl.jar
lrwxrwxrwx 1 root root 31 Jun 13 23:55 xmlParserAPIs.jar
-> ../../../java/xmlParserAPIs.jar
<shoe@shoegoolin> ~/java/linuxmag/web\ $
or a la compile j'obtiens ca:
<shoe@shoegoolin> ~/java/linuxmag/web\ $ javac linuxmagServlet.java
linuxmagServlet.java:10: package java.servlet does not exist
import java.servlet.*;
^
linuxmagServlet.java:11: package java.servlet.http does not exist
import java.servlet.http.*;
^
et des erreurs qui suivent pke il trouve pas les fonctions
je vois po trop d'ou ca peut venir(en plus je suis novice...)
si qqun a une idée..
merci
--
shoegoo
--
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: