tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuval Schwartz <>
Subject Reading properties file in context.xml
Date Wed, 02 Nov 2016 09:38:44 GMT
Tomcat: 8.0.22
Java: jdk1.8.0_05


I would like to store credentials that go into the Resource element of my
connection pool, in a properties file. (This is so I can untrack my
properties file when committing to a repo).

How would I go about accessing this properties file in my
META-INF/context.xml file?

What is the best location for this properties file?

Thank you.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message