title: How to access env-entry value in spring xml files?
body: <p>I defined an environment variable in web.xml as below..</p>
  
  <pre><code>&lt;env-entry&gt;
      &lt;env-entry-name&gt;appName&lt;/env-entry-name&gt;
      &lt;env-entry-type&gt;java.lang.String&lt;/env-entry-type&gt;
      &lt;env-entry-value&gt;myApp&lt;/env-entry-value&gt;
  &lt;/env-entry&gt;
  </code></pre>
  
  <p>Now I want to access this value in spring mvc resources tag as below. </p>
  
  <pre><code>&lt;mvc:resources order="-10" mapping="/robots.txt" 
          location="${jboss.home.dir}/${appName}/robots.txt" /&gt;
  </code></pre>
  
  <p>But the variable ${appName} is not resolving. Can you please help me out on how to read the environment entry in spring xml files?</p>