On 6/10/2010 3:52 PM, André Warnier wrote:

...


Does there exist *any* way to put the actual values "value1", "value2",
etc.. in some place *outside* the web.xml file, and *outside* the war
that would be created for this application, and still allow the
application, on startup, to read the values of these parameters "from
web.xml" ?

How early is "on startup" for your purposes? Will it be early enough if you read them in from a servletContextListener? That's where I pull in my external properties files, and is executed pretty early in the tomcat startup sequence. Certainly before anybody can try to log into it.

D

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to