Dear Mathew,

Thanks for the link.

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html

I am afraid I dont understand the paragraph below, regarding the class
patterns
"In addition, for the following class patterns, the classloader will always
delegate first (and load the class itself if no parent classloader loads
it)"

============================================================================
=====================================
As mentioned above, the web application class loader diverges from the
default Java 2 delegation model (in accordance with the recommendations in
the Servlet Specification, version 2.3, section 9.7.2 Web Application
Classloader). When a request to load a class from the web application's
WebappX class loader is processed, this class loader will look in the local
repositories first, instead of delegating before looking. There are
exceptions. Classes which are part of the JRE base classes cannot be
overriden. For some classes (such as the XML parser components in JDK 1.4+),
the JDK 1.4 endorsed feature can be used (see the common classloader
definition above). In addition, for the following class patterns, the
classloader will always delegate first (and load the class itself if no
parent classloader loads it):

javax.*
org.xml.sax.*
org.w3c.dom.*
org.apache.xerces.*
org.apache.xalan.*

============================================================================
=====================================


Can I put the above class pattern in my WEB-INF/lib path or not ?

regards

Ben


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

Reply via email to