title: Spring 3 - Accessing messages.properties in jsp
body: <p>I am new using spring 3 and have been stuck for a while on this. </p>
  
  <p>Do you know how can I access messages.properties from a jsp. For instance, in the controller I set a value to my model: </p>
  
  <pre><code>model.setError("user.not.found")
  </code></pre>
  
  <p>messages.properties:</p>
  
  <pre><code>user.not.found=Sorry, we haven't been able to found this user
  </code></pre>
  
  <p>and in the jsp I want to be able to do </p>
  
  <pre><code>${model.error}
  </code></pre>
  
  <p>and displaying "sorry...". However I always get "user.not.found" even if this works fine when I use the @Valid ..., bindingResult and then  in the form.</p>
  
  <p>Thanks,</p>