aspose file tools*
The moose likes Servlets and the fly likes Servlet ClassLoader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet ClassLoader" Watch "Servlet ClassLoader" New topic
Author

Servlet ClassLoader

Abhishek khare
Greenhorn

Joined: Aug 08, 2007
Posts: 25
Hi,

I am currently working on a system that has Servlet as a Front Controller(WEB-INF/Classes), and the business logic classes are placed in the DB.

The product provides a mechanism of External Class loader that adds the DB classes to the current context. What I am not able to understand, how I can add this class loader to my Servlet, so the servlet has access to the DB classes.

note: I am using Tomcat.

TIA




"Things come to those who wait, but only the things left by those who hustle."
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Servlet ClassLoader