> > Wow. You have totally gone off topic here. What does this have to do with
> > Class.forName()? On top of it, Apache JServ DOES use a custom class loader.
> 
> Technically, because we use a custom class loader, in order to load a
> class which is not in the system classpath, one must use
> 
> this.getClassLoader().loadClass()

Just out of curiousity, should this statement work across servlet engines?
I'm using it in my RouterServlet class to load helper modules - A) because
System.getClassLoader doesn't work on JDK-1.1.x for Linux and B) it
automagically reloads my helper classes when they change. I've never been
certain that it was a safe thing to do though.

- donald



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to