Re: How to use classes from another webapp/context?

2003-09-08 Thread Ulrich Mayring
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

Re: How to use classes from another webapp/context?

2003-09-08 Thread Christopher Williams
: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 and stick in common\lib I'd rather use a more complicated method, if that would allow me to put my classes in WARs

Re: How to use classes from another webapp/context?

2003-09-08 Thread Ulrich Mayring
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.

Re: How to use classes from another webapp/context?

2003-09-08 Thread Marco Tedone
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 classes common to multiple web apps into library

How to use classes from another webapp/context?

2003-09-05 Thread Ulrich Mayring
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

Re: How to use classes from another webapp/context?

2003-09-05 Thread Pradeep Gummi
- 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 like to do is have JSPs in one webapp

Re: How to use classes from another webapp/context?

2003-09-05 Thread Ulrich Mayring
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.

Re: How to use classes from another webapp/context?

2003-09-05 Thread Christopher Williams
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]