You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jason Novotny <jd...@lbl.gov> on 2002/11/08 02:12:54 UTC
WAR classloading
Hi Craig et al.
I'm trying to design a servlet that would allow people to upload web
applications as WAR files-- the only caveat is that my classes
are not servlets but some other objects, "FooBar" which I know how to
instantiate. I can see that WARs are really just JARs in disguise, so
does that mean I can use the standard JarClassLoader classes for
accessing the contents of the WAR? Can the source file
catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java
help me in any way actually? Basically I want to read in a config file
that would be packaged as part of the WAR and then instantiate my
"FooBar" classes accordingly in a separate classloader.
Thanks, Jason
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>