RE: Design question: common/lib --> WEB-INF/lib

2002-04-05 Thread Craig R. McClanahan
On Fri, 5 Apr 2002, Mark Shaw wrote: > Date: Fri, 5 Apr 2002 16:24:28 -0800 > From: Mark Shaw <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: Design question: c

RE: Design question: common/lib --> WEB-INF/lib

2002-04-05 Thread Mark Shaw
Craig, nevermind, it's because I was still casting the object using an interface that wasn't in my common/lib. -Original Message- From: Mark Shaw [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 4:24 PM To: 'Tomcat Users List' Subject: RE: Design question: co

RE: Design question: common/lib --> WEB-INF/lib

2002-04-05 Thread Mark Shaw
> ClassLoader webappLoader = > Thread.currentThread().getContextClassLoader(); > Class webappClass = webappLoader.loadClass("com.mycompany.MyClass"); > This works because the container (Tomcat in this case) always sets the thread context class loader to the one > for the webapp being executed

Re: Design question: common/lib --> WEB-INF/lib

2002-04-05 Thread Craig R. McClanahan
On Fri, 5 Apr 2002, Mark Shaw wrote: > Date: Fri, 5 Apr 2002 15:29:04 -0800 > From: Mark Shaw <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: Design que

Design question: common/lib --> WEB-INF/lib

2002-04-05 Thread Mark Shaw
I have a design question I'm guessing someone has already tackled: Description: I'm developing an application that runs within Tomcat. All the JARs for that application are in it's webapp/WEB-INF/lib, except for a few classes that implement a Realm which referenced in server.xml. Because these

RE: /lib & /WEB-INF/lib

2001-06-10 Thread Amos Shapira
--Original Message- From: Hemant Singh [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 10, 2000 4:27 PM To: [EMAIL PROTECTED] Subject: Re: /lib & /WEB-INF/lib HI: If you have a jar which you are using in more than one web-apps than place it under /tomat/lib so that tomcat do not re

Re: /lib & /WEB-INF/lib

2001-06-10 Thread Hemant Singh
/webappps/yourwebapp/web-inf/lib Regards Hemant - Original Message - From: "Bo Xu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 08, 2001 7:02 PM Subject: Re: /lib & /WEB-INF/lib > eric ng wrote: > > > > Hi, > > In tomcat or other

Re: /lib & /WEB-INF/lib

2001-06-08 Thread Bo Xu
eric ng wrote: > Hi, > In tomcat or other servlet engine implements the spec. > there are 2 place to put JAR files: > > 1) d:/tomcat/lib > 2) d:/tomcat/webapps/abc/WEB-INF/lib > > I wonder what's the difference putting JAR in the 2 > directory? any performance difference? Should I always > put

Re: /lib & /WEB-INF/lib

2001-06-07 Thread Milt Epstein
On Thu, 7 Jun 2001, eric ng wrote: > Hi, > In tomcat or other servlet engine implements the spec. > there are 2 place to put JAR files: > > 1) d:/tomcat/lib > 2) d:/tomcat/webapps/abc/WEB-INF/lib > > I wonder what's the difference putting JAR in the 2 > directory? any performance difference? Sho

/lib & /WEB-INF/lib

2001-06-07 Thread eric ng
Hi, In tomcat or other servlet engine implements the spec. there are 2 place to put JAR files: 1) d:/tomcat/lib 2) d:/tomcat/webapps/abc/WEB-INF/lib I wonder what's the difference putting JAR in the 2 directory? any performance difference? Should I always put JAR into web apps's own lib? thank