File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: How to configure custom class loader ?
It's not a secret anymore!