Hi,
Did you try Beans.instantiate(this.getClass().getClassLoader(),
"my.package.Classname") ? This would use the same classloader as servlet was
loaded in assuming "this" is the servlet? We had to do this going from JRun
to Orion and this is a much
better way for Servlet 2.2 API.
Eric :-)
Kit Cragin wrote:

> Does anyone know how to load a class at runtime from a servlet within the
> Orion environment? I was able to do it using JRun 2.3.3 by getting the
> servlet's class loader and instantiating a class based on its name. This
> does not seem to work under Orion: I get a ClassNotFoundException.
>
> Thanks,
>
> Kit

Reply via email to