On Thu, 15 Feb 2001, you wrote:
> I'm not sure about the use of Reference and NamingManager (I do everything
> through a Context), but you can create a
> URLClassLoader to point at the port the webserver is running on to load
> classes, and then set it to be the class loader for the current Thread
>  thanks to Tom Cook for pointing this out).  Better yet, you can create the
> class loader with the System class loader as its parent, so that classes
> will be resolved locally as well:

Using the constructor
        URLClassLoader( URL[] urls )
will set the current default class loader as it's parent, so any class which
could be resolved before creating the new classloader will still be able to
after.

Tom


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to