title: JSP and ResourceBundles
body: <p>Typically resource bundles are loaded and used within a JSP using JSTL and fmt, but this requires to always use the syntax <code>&lt;fmt:message key=""/&gt;</code> to access the value.</p>
  
  <p>When the text to be localized looks like
  <code>&lt;a href="url" title="message"&gt;</code> it is awkward (though valid to write):</p>
  
  <pre><code>&lt;a href="url" title="&lt;fmt:message key="key"/&gt;"&gt;
  </code></pre>
  
  <p>and plain awkward to use the scoped syntax</p>
  
  <pre><code>&lt;fmt:message key="key" var="var"&gt;
  &lt;a href="url" title="${var}"&gt; 
  &lt;/fmt:message&gt;
  </code></pre>
  
  <p>Is there a simpler way to do this? I am looking for something like just</p>
  
  <pre><code>&lt;a href="url" title="${messages.key}"&gt;
  </code></pre>