I've just installed Tomcat with apache on RH9. Everything seems to work
except when I try to compile a servlet, I ge the error message:
Quote:
package javax.servlet does not exist
|
I have tis problem eventhough I set the classpath
Quote:
echo $CLASSPATH
/opt/SUNWappserver/jdk/lib:/opt/apache-tomcat/common/lib:/opt/apache-tomcat/bin
|
if i do
Quote:
javac -classpath /opt/apache-tomcat/common/lib/servlet-api.jar servlet_test1.java
|
, then it works.
What did I do wrong?