You simply can't.
See classloader hierarchy in tomcat.
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
En l'instant précis du 24/05/07 15:49, Enrique Lamas s'exprimait en ces
termes:
Hello,
I've allways used resin server and now I'm starting with Tomcat. I'
Hello,
I've allways used resin server and now I'm starting with Tomcat. I've one doubt
and I've found no answer to it after much time searching. ¿Can you help me?
I've two apps, for example:
webapps/app1
webapps/app2
Well, what I need is from app2 create instances of classes defined at app1,
i.