Re: Where to put .properties so web app finds it

2001-11-13 Thread Denis Balazuc
We use property files to configure our framework when it gets loaded by Tomcat through the WAR files. The most convenient place we've found for those files is under WEB-INF/classes as it is the root of the classpath of your WAR app and you can retrieve your file using ClassLoader.getResource("prop

Re: Where to put .properties so web app finds it

2001-11-13 Thread Craig R. McClanahan
On Tue, 13 Nov 2001, MacDonald, Todd wrote: > Date: Tue, 13 Nov 2001 17:59:42 -0500 > From: "MacDonald, Todd" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "Tomcat-User (E-mail)" <[EMAIL PROTECTED]> > Subject: Where to put .properties so web app finds it > > I've got

RE: Where to put .properties so web app finds it

2001-11-13 Thread MacDonald, Todd
Thanks, but I'm looking less for what "works" and more for what's "right" (if there is such a thing). -T -Original Message- From: Evan Swanson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 6:02 PM To: 'Tomcat Users List' Subject:

RE: Where to put .properties so web app finds it

2001-11-13 Thread Martin van den Bemt
We use our own configuration structure per server / host / virtual host. Se maybe the home of that could be used for that. (more speciic : there are only classes in our webapp, the rest (= about a 3000 files) our oustside the webapp.. (excluding transactions). Mvgr, Martin > -Original Messag

RE: Where to put .properties so web app finds it

2001-11-13 Thread Evan Swanson
CATALINA_HOME is set by the Tomcat4.0 as a property. Seems to work for me. -Original Message- From: MacDonald, Todd [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 3:00 PM To: Tomcat-User (E-mail) Subject: Where to put .properties so web app finds it I've got a .properties f