Is it possible to set values โโin Tomcat web.xml by extracting values โโfrom a properties file?
eg. I would like the user role settings to be externalized in the properties file, is it possible then to do something like this:
my properties file:
my.user.role=role1
my web.xml:
<security-role>
<role-name>${my.user.role}</role-name>
</security-role>
Edit:
I found this article, so I suppose roles should be set static in web.xml.
source
share