title: Handling Exception like validation errors in Spring MVC
body: <p>I have configured the <strong>SimpleMappingExceptionResolver</strong> in my web application, which is handling all the <em>unexpected</em> exceptions in the application and directing the user a to simple error page for recovery.<br/></p>
  
  <p>But what would be a best practice of handling an <em>expected</em> exception <em>(more specifically: exception caused by hibernate optimistic concurrency control)</em>?<br/></p>
  
  <p>I don't want the user to be directed to a new error page, but allow him/her to continue working in the same jsp page. What is the best method to achieve this? <br/></p>