how to configure the server so that it load my own classloader automatically instead of the default classloader? For example: In my web application, there are only one jsp page and one javabean which is used in the jsp page. now I have a classloader of my own which extends from the java.lang.ClassLoader and I hope that when i type the URL in the web browser, the class file of the javabean would loaded by my defined classloader automatically. Is there an approach to solve this problem? In addition, I don't understand the element class-loading in the jboss-web.dtd. Do you illustrate the usage of this element for me? thanks ! best regards!