title: @ResponseStatus and web.xml <error-page>
body: <p>Here's what i have so far :
  controller :</p>
  
  <pre><code>public abstract class MyController {
     @ExceptionHandler(Exception.class)
     @ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
     public void handleAllExceptions(Exception e) {
        // stuff
     }
  }
  </code></pre>
  
  <p>and my web.xml :</p>
  
  <pre><code>&lt;error-page&gt;
    &lt;error-code&gt;500&lt;/error-code&gt;
    &lt;location&gt;/error.htm&lt;/location&gt;
  &lt;/error-page&gt;
  </code></pre>
  
  <p>And when an unexpected exception occur, the handle works, the stuff is done, but i'm not redirect to /error.htm</p>
  
  <p>Instead i'm still on the same page, but a error 500 is printed by apache.</p>
  
  <p>What did i miss ?</p>
  
  <p>Thanks :)</p>