title: Spring messages - Is there a way to output the key instead of the values on the webapp?
body: <p>I'm wondering if there's a way to debug resource bundles that are rendered on the webapp </p>
  
  <p>Example properties file</p>
  
  <pre><code>page.header1=Welcome page
  </code></pre>
  
  <p>Example HTML page</p>
  
  <pre><code>&lt;h1&gt;&lt;spring:message code="page.header1" /&gt; &lt;/h1&gt;
  </code></pre>
  
  <p>So by default we would see</p>
  
  <pre><code>&lt;h1&gt;Welcome page&lt;/h1&gt;
  </code></pre>
  
  <p>Is there a way, preferably via a query string parameter where we can turn off the process of the value for the key, and maybe render the key instead</p>
  
  <p>Example</p>
  
  <pre><code>&lt;h1&gt;page.header1&lt;/h1&gt;
  </code></pre>
  
  <p>The idea is we have non technical people reviewing a website and we would like to give them the option to switch between key name and value.</p>