tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Classpaths
Date Thu, 06 Jun 2002 20:38:36 GMT
Howdy,

>How can i do for add classes to Tomcat Classpath?... i have an
application

The short answer: in many many ways ;)

The long answer: depends on where you want the classes to be visible.
If you just want them for one web-app, add them to that web-app's
/WEB-INF/classes directory.  Or package them as a jar and add them to
the /WEB-INF/lib directory.

If you want the classes to be visible to more than one web-app, you can
put them in $CATALINA_HOME/classes, or again package them up as a jar
and put them in $CATALINA_HOME/lib.

See
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
for the complete details.  

The above is all for tomcat 4.0.x...

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message