learn java
The moose likes Tomcat and the fly likes How to configure custom class loader ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to configure custom class loader ?" Watch "How to configure custom class loader ?" New topic

How to configure custom class loader ?

tanu dua
Ranch Hand

Joined: Apr 05, 2004
Posts: 145

I have created my custom class loader for my web application , but I ma not able to understand how to configure that in Tomcat so that when my web application classes are loaded it should be loaded from my custom class loader.

Please help

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

As the name 'custom' suggests, it is pretty much up to you how these things should be done.

Have you read:

Typically, any code that needs to be run when an application is started is triggered from a context listener.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: How to configure custom class loader ?