Message -
From: "Ulrich Mayring" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 08, 2003 10:25 AM
Subject: Re: How to use classes from another webapp/context?
> Christopher Williams wrote:
> >
> > Unfortunately, you do need to move cla
Christopher Williams wrote:
Unfortunately, you do need to move classes common to multiple web apps into
library files. You don't have to put the library files into common\lib,
however. You can put the JARs in WEB-INF/lib inside your WAR file. Never
done it myself, but it's supposed to work.
Yep,
EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 08, 2003 8:53 AM
Subject: Re: How to use classes from another webapp/context?
> Christopher Williams wrote:
> > Easiest method:
> >
> > Put JSPs in WAR and stick in webapps
> > Put classes in JAR
Christopher Williams wrote:
Easiest method:
Put JSPs in WAR and stick in webapps
Put classes in JAR and stick in common\lib
I'd rather use a more complicated method, if that would allow me to put
my classes in WARs as well :)
Ulrich
Easiest method:
Put JSPs in WAR and stick in webapps
Put classes in JAR and stick in common\lib
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Pradeep Gummi wrote:
Hi Ulrich,
I think you should get them working by placing the classes in the
CATALINA_HOME/common/classes folder or the jars in the lib folder. This
would share the classes in all web apps. There you would be giving the
information of the catalina and system class loaders.
ks
pradeep
- Original Message -
From: Ulrich Mayring <[EMAIL PROTECTED]>
Date: Friday, September 5, 2003 4:19 am
Subject: How to use classes from another webapp/context?
> Hello,
>
> I know that Tomcat has seperate classloaders for each webapp, but
> what I
> would
Hello,
I know that Tomcat has seperate classloaders for each webapp, but what I
would like to do is have JSPs in one webapp and the classes they use in
another. I tried enabling the crossContext feature for the relevant
contexts, but that didn't work, the classes weren't found.
Background: we