Re: An easy one... Default Config in conf/web.xml

2003-02-17 Thread Erik Price
Andoni wrote: Thanks for that. I think I'll look up your other recommendations first. I don't know ant at all so I'll start with the other one. Ant is worth learning -- you can figure it out in a couple of hours. It will make all of your webapp deployment a lot easier. There is a decent

An easy one... Default Config in conf/web.xml

2003-02-14 Thread Andoni
Hi, I am using sections like that below to store the database url / username / password for my server. I then access these from the code using getInitParameter(database_password); in my code. What I would like is to move these out to the web.xml file in conf/web.xml so that when I move my

RE: An easy one... Default Config in conf/web.xml

2003-02-14 Thread Shapira, Yoav
portable and container-independent, which is a heavy cost. Yoav Shapira Millennium ChemInformatics -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 10:32 AM To: Tomcat Users List Subject: An easy one... Default Config in conf/web.xml Hi, I am using

Re: An easy one... Default Config in conf/web.xml

2003-02-14 Thread Andoni
- From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 14, 2003 3:38 PM Subject: RE: An easy one... Default Config in conf/web.xml Howdy, Your parameters should be in your web.xml, which is in your war file if you're using a war file. They should

RE: An easy one... Default Config in conf/web.xml

2003-02-14 Thread Shapira, Yoav
Howdy, But that's the way I want it to be. At the moment my apps are machine dependant because they use the web-inf/web.xml file but if I could use the server's web.xml file instead I would not have to reconfigure every time I move an app across to my live server. Nearly all non-trivial web

Re: An easy one... Default Config in conf/web.xml

2003-02-14 Thread Andoni
: RE: An easy one... Default Config in conf/web.xml Howdy, But that's the way I want it to be. At the moment my apps are machine dependant because they use the web-inf/web.xml file but if I could use the server's web.xml file instead I would not have to reconfigure every time I move an app across

Re: An easy one... Default Config in conf/web.xml

2003-02-14 Thread Sean Dockery
: Andoni [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 14, 2003 08:45 Subject: Re: An easy one... Default Config in conf/web.xml But that's the way I want it to be. At the moment my apps are machine dependant because they use the web-inf/web.xml file but if I could