Tomcat loads web module elements in the classpath for servlet execution and debugging in following order:
WEB-INF/classes
directory of your web moduleWEB-INF/lib/*.jar
directory of your web module$CATALINA_HOME/common/classes
$CATALINA_HOME/common/lib/*.jar
$CATALINA_HOME/classes
$CATALINA_HOME/lib/*.jar
![]() |
Tomcat 4.0.x does not support .zip files in the |
The IDE's Internal
Tomcat installation, the $CATALINA_HOME
directory corresponds to the tomcat401
directory. Any libraries
shared by multiple web modules must be placed in any one of locations 3 through
8 in the above list. Do not add shared libraries to the tomcat401_base
directory.
For more information about class loading on Tomcat, see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html .
See also | |
---|---|
The Tomcat 4.0.x Plugin Executing Web Modules |