Vorrei sapere se esiste la possibilità di impostare un attributo in web.xml
utilizzando il file delle proprietà. Ad esempio il web.xml:Come impostare il valore in web.xml utilizzando il file delle proprietà
<context-param>
<param-name>Map.MyJNDI</param-name>
<param-value>java:comp/env/jdbc/${my.computer}</param-value>
</context-param>
e application.properties
sarebbe:
# My computer's name
my.computer=eniac
Grazie per le risposte. Tomas
controllare questi: - http://stackoverflow.com/questions/15380817/properties-file-as-init-param-in-web-xml - http://stackoverflow.com/questions/12099008/how-to-include-valori-da-proprietà-file-in-web-xml – Chepech