Hi: I want my web apps running on Tomcat 7.0.35 to use a custom classloader.
The reason is that I want each web app classloader instance to do some
processing to set up the classpath for the web app it belongs to. I have the
following questions: 1) Is org.apache.catalina.loader.WebappClassLoader a
good class to derive my custom classloader from? Is it a good choice going
forward for later versions of Tomcat? 2) Is there a recommended way for my
custom classloader to identify which web app it belongs to? It needs to
identify which web app it is for so that it will know what jars to put on its
classpath. Thanks!