title: JSTL Core fmt:message Tag Dynamic message using bundle/properties file
body: <p>I understand the usage of standard <code>fmt:message</code> Tag i.e we define something like this in the JSP:</p>
  
  <pre><code>&lt;fmt:setBundle basename="ResourceBundles.ValidationErrorMessages" var="errorMessages" /&gt;
  &lt;fmt:message key="${error.value}" bundle="${errorMessages}" /&gt;
  </code></pre>
  
  <p>Suppose error.Value = "MQ2009"</p>
  
  <p>My properties file named "ValidationErrorMessages" has following entry</p>
  
  <pre><code>MQ2009 = MQ time out
  </code></pre>
  
  <p>Now my requirement is to have something like</p>
  
  <pre><code>MQ2009 = Mq timeout happened for message {messagename}.
  </code></pre>
  
  <p>Can I define the <code>messagename</code> variable dynamically? I.e at runtime, <code>messagename</code> will be available in request scope and it should be substituted in the properties file.</p>
  
  <p>How can I do this? Do I need a custom tag or does Java EE provides this feature which I am not aware off?</p>