thx for your answer ... i want to load classes from directory which isn't in classpath 
of tomcat  

I've done a lot of dynamic class loading ... and have never needed to 
use a custom class loader ('cept one time when I stored them in a DB ... 
  don't go there!). I would re-evaluate why you need a class loader 
rather than Class.forName( "someClassName" ).newInstance().
My gut feeling is, if you don't know all about class loaders, you don't 
need to use one (explicitly).

My 2p

tim

Reply via email to