Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Disable DMI support
  • Define error page in struts.xml (as below)
Code Block
xml
xml

  <global-results>

...

 
    <result name="error">/error_page.jsp</result>

...


  </global-results>
Code Block
xml
xml

  <global-exception-mappings>

...


    <exception-mapping exception="java.lang.Exception" result="error"/>

...


  </global-exception-mappings>

You can obtain Struts 2.2.3 here.