Ok thanks,
that is what I think.
Bye
----- Original Message -----
From: "David Delbecq" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, May 24, 2007 4:27 PM
Subject: Re: How can I make the classes of one app be in the classpath of
another app?
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'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.e. , I want app1 classes be at app2 classpath. But I don't want
neither to make a jar file end copy it to webapps/app2/WEB-INF/lib nor
copy to apache-tomcat-6.0.10\lib in order to make it visible to all
webapps.
With resin server this was done by inserting this line at web.xml:
<classpath id="../../../app1/WEB-INF/classes"
source="../../../app1/WEB-INF/classes"/>
buy I think this is not standard because it's no allowed whith Tomcat.
¿How can I do this?
Thanks and sorry for my bad english.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]