title: Spring message in JSTL Tag
body: <p>According to this <a href="https://stackoverflow.com/questions/3351116/nested-expression-in-jsp-jstl">post from 3 years ago</a> the only way to display a spring message in a jstl tag is to wrap it in a <code>&lt;c:set var="someVar"&gt;</code> which does "work" but it seems very far from ideal. </p>
  
  <p>Fast forward 3 years, is this still the only way to handle this?</p>
  
  <p>Here is my code</p>
  
  <p>Works, but not "ideal"</p>
  
  <pre><code>&lt;c:set var="closeMessage"&gt;
      &lt;spring:message code='lman.ilr.closeItemDetail'/&gt;
  &lt;/c:set&gt;
  &lt;dsg:sidePanelContent closePanelText="${closeMessage}"&gt;
  </code></pre>
  
  <p>Doesn't work, returns a string of <code>&lt;spring:message code='lman.ilr.closeItemDetail'/&gt;</code></p>
  
  <pre><code>&lt;dsg:sidePanelContent closePanelText="&lt;spring:message code='lman.ilr.closeItemDetail'/&gt;"&gt;
  </code></pre>