title: How to set value in web.xml using property file?
body: <p>I would like to know if there is possibility to set an attribute in <code>web.xml</code> by using property file. For example the web.xml:  </p>
  
  <pre><code>&lt;context-param&gt;
    &lt;param-name&gt;Map.MyJNDI&lt;/param-name&gt;
    &lt;param-value&gt;java:comp/env/jdbc/${my.computer}&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  
  <p>and <code>application.properties</code> would be:</p>
  
  <pre><code># My computer's name
  my.computer=eniac
  </code></pre>