tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Class loading question (with aspectj)
Date Fri, 04 Sep 2009 08:58:12 GMT
neo anderson wrote:
> I read the document at
> http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html and have a
> question. What is the class loading order if the classes are located under
> /WEB-INF/classes/ and /WEB-INF/lib/ respectively? 

The search order is always:
/WEB-INF/classes
/WEB-INF/lib

You can distribute your classes between those locations any way you like
but if you put the same class in both locations, the one in classes will
always take priority.

Mark




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message