--- Deacon Marcus <[EMAIL PROTECTED]> wrote:
> Hi,
> Is it possible to override single classes in Tomcat by placing .class files
> in server/classes? If a .class exists both in /lib/<somejar>.jar and
> /classes/<package>/<class>.class which one is used?
> 

For Tomcat 4, the following priority list is followed:
/WEB-INF/classes of your web application 
/WEB-INF/lib/*.jar of your web application 
Bootstrap classes of your JVM 
System class loader classses (described above) 
$CATALINA_HOME/common/classes 
$CATALINA_HOME/common/lib/*.jar 
$CATALINA_HOME/classes 
$CATALINA_HOME/lib/*.jar 

Please refer to
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html, from
where I have pasted the list above.

> Greetings, deacon Marcus
> 
Sriram


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to