tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Kim <>
Subject RE: class path (UNCLASSIFIED)
Date Tue, 12 Apr 2005 20:34:17 GMT

>I am using Tomcat 4.1 and that only has servlet.jar
> package javax.servlet does not exist import javax.servlet.*; ^

Depends on how you run javac, but if this works, then it's really the
classpath problem. Tomcat's classpath may be different from the one in
your command shell.

javac -cp c:\PATH_TO\common\lib\servlet.jar yourpackages\


Ben Kim
Database Developer/Systems Administrator
434E Harrington Tower / College of Education 
Texas A&M University

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message