tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Tomcat Class Loader (parent/child tree)
Date Tue, 17 Jun 2003 13:50:13 GMT


According to the tomcat documentation: 

"Normally, when a class loader is asked to load a particular
class or resource, it delegates the request to a parent class
loader first, and then looks in its own repositories only if
the parent class loader(s) cannot find the requested class or

>>From what I understand from the documentation, the common/lib
directory is a parent to the webapp1/lib directory and therefore
according to the preceding quote, Tomcat should look first in
common/lib and THEN in webapp1/lib.

I tried putting two identically-named classes in the common/lib
directory and in the webapp1/lib.  My jsp uses the class loaded
from webapp1/lib and not the class loaded from common/lib.  Is
this not contradictory??


Sent using ( http://MailStart.Com/welcome.html )
The FREE way to access your mailbox via any web browser, anywhere!

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

View raw message