views:

15

answers:

0

Hi all, I would like to know if there is possibility to set an attribute in web.xml by using property file. For example the web.xml:

<context-param>
<param-name>Map.MyJNDI</param-name>
<param-value>java:comp/env/jdbc/${my.computer}</param-value>
</context-param>

and application.properties would be :

# My computer's name
my.computer=eniac

Thanks for answers. Tomas