tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anna" <>
Subject Re: ClassCastException
Date Mon, 16 Jun 2003 17:08:18 GMT
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


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message