See java/net/URL.java, specifically getURLStreamHandler(String), for an illustration of how Java has handled pluggable handlers since version 1.0.
--- Noel > -----Original Message----- > From: Ola Berg [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 12, 2002 9:52 AM > To: Tomcat Users List > Subject: [classloading] How to use URLClassLoader within a servlet > > > Depending on the top level domain, I need to use different > versions (jars) of the same API, since the protocol differs. > So I need to dynamically load my classes at runtime. Just > putting the jars in lib won't work since there are different > implementations of the same classes in them. I have to decide > in runtime. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>