On 22/01/2013 14:49, Christopher Schultz wrote: > Mark, > > On 1/21/13 3:35 PM, Mark Thomas wrote: >> On 21/01/2013 20:30, Konstantin Kolinko wrote:
>>> The same as with any other ClassLoader: use the bytes and call >>> ClassLoader.defineClass(..), then ClassLoader.resolveClass(..). > >> No can do. > >> That method is not public. > > OP could subclass WebappClassLoader and give access to it, then set > that as the loader for the webapp, right? Yes. You can't do that directly on the Context. You'd need to specify a Loader (the standard implementation should be OK) and set the loadClass attribute. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org