title: How to get display-name from web.xml in a Spring IoC XML Configuration
body: <p>To be exact, how can I get the value of the <code>&lt;display-name&gt;</code> tag under the <code>&lt;web-app&gt;</code> tag stored in an application's web.xml in a Spring application context configuration XML file.</p>
  
  <p>Ideally I would like something like the following...</p>
  
  <pre><code>&lt;bean&gt;&lt;property value="${servletContext.servletContextName}/&gt;&lt;/bean&gt;
  </code></pre>
  
  <p>It seem like <a href="http://download.oracle.com/javaee/5/api/javax/servlet/ServletContext.html#getServletContextName%28%29" rel="nofollow"><code>ServletContext.getServletContextName()</code></a> does what I want but I can't seem to figure out how to get a handle on that in the Spring application context file. </p>