You can put these as init-param entries in web.xml.  If I have a large
number of them and/or the administrator may need to edit them, I put them in
a properties file and create an init-param entry that points to this file.
I trust someone editing the properties file more than the deployment
descriptor.  :-)

-----Original Message-----
From: Danilo Luiz Rheinheimer [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 10:32 AM
To: [EMAIL PROTECTED]
Subject: Configuration information


   Hi,

   I am posting again this question from another beginner Tomcat user.
   I see no answers to it and how I have the exactly same problem here is it
:

   I'm new to tomcat and was just wondering where other developers put
configuration key value pairs in there tomcat apps.
   For example, if I wanted to read in a version number and display it on
one
of my pages. Or if my app connects to multiple databases. Where could I
put the connection information? Can you put that kind of stuff in the
web.xml file? Are there built in conveniences to do this?




----
Danilo Luiz Rheinheimer
Florianopolis/SC Brasil
Sony Cli� 615C
mailto:[EMAIL PROTECTED]
----


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to