Sweet! Exactly what I was looking for.
Thanks for the information!
Cheers,
Eric
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 09, 2002 9:58 AM
> To: Tomcat Users List
> Subject: Re: where to put config info
>
>
getInitParameter(someString) lets you access information in the web.xml
file. someString corresponds to the name of the param in the web.xml.
Note that there is are ServletContext and
ServletConfig implementations.
The ServletContext version could be used where you have values that
are shared a
Hi,
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 info