title: struts 2 generated error/input page was not decorated by sitemesh
body: <p>I was using sitemesh 2.4 with struts 2.3.14. Sitemesh correctly decorates the webpages except for one situation: when the form validation fails and struts 2 renders the original input jsp page with error messages. After researching online, I think the problem was that struts 2 simply renders the original input jsp page without calling another action to issuse an http request (for instance, redirect). Therefore sitemesh has no way to intervene to decorate the rendered jsp page. </p>
  
  <p>So here is my question: Is it possible to instruct struts 2 to render the input jsp page AND fire an Http request so it can be intercepted by sitemesh?</p>
  
  <p>Thank you in advance,</p>
  
  <p>Relevant configurations in my web.xml:</p>
  
  <pre><code>&lt;filter&gt;
      &lt;filter-name&gt;sitemesh&lt;/filter-name&gt;
      &lt;filter-class&gt;com.opensymphony.sitemesh.webapp.SiteMeshFilter&lt;/filter-class&gt;
  &lt;/filter&gt;
  
  &lt;filter-mapping&gt;
      &lt;filter-name&gt;sitemesh&lt;/filter-name&gt;
      &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;dispatcher&gt;REQUEST&lt;/dispatcher&gt;
      &lt;dispatcher&gt;FORWARD&lt;/dispatcher&gt;
      &lt;dispatcher&gt;INCLUDE&lt;/dispatcher&gt;
  &lt;/filter-mapping&gt;
  
  &lt;filter&gt;
      &lt;filter-name&gt;struts2&lt;/filter-name&gt;
      &lt;filter-class&gt;org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter&lt;/filter-class&gt;
  &lt;/filter&gt;
  
  &lt;filter-mapping&gt;
      &lt;filter-name&gt;struts2&lt;/filter-name&gt;
      &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  </code></pre>