title: why error-page in web.xml cannot capture exceptions thrown from struts2 prepare method
body: <p>i declare a global exception handler in web.xml</p>
  
  <pre><code>&lt;error-page&gt;
  &lt;exception-type&gt;java.lang.Throwable&lt;/exception-type&gt;
  &lt;location&gt;/exceptionHandler&lt;/location&gt;
  &lt;/error-page&gt;
  </code></pre>
  
  <p>it works fine most of the time. But it cannot capture the exceptions thrown from the prepare method in struts2 actions</p>
  
  <p>anyone know why</p>