THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Disable DMI support
- Define error page in struts.xml (as below)
Code Block | ||||
---|---|---|---|---|
| ||||
<global-results> |
...
<result name="error">/error_page.jsp</result> |
...
</global-results> |
Code Block | ||||
---|---|---|---|---|
| ||||
<global-exception-mappings> |
...
<exception-mapping exception="java.lang.Exception" result="error"/> |
...
</global-exception-mappings> |
You can obtain Struts 2.2.3 here.