s:actionerror and s:actionmessage prevent error page handling and throws
java.lang.IllegalStateException
--------------------------------------------------------------------------------------------------------
Key: WW-2954
URL: https://issues.apache.org/struts/browse/WW-2954
Project: Struts 2
Issue Type: Bug
Components: Core Actions
Affects Versions: 2.1.2
Environment: Tomcat 5.5
Reporter: Vlasov Igor
Priority: Critical
I have simple application with error page in web.xml
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/admin/http500.jsp</location>
</error-page>
Then i have a simple action and a simple page
I try to generate an exception on this page:
<% String v=null; v.length();%>
<s:actionmessage/>
- this throws me to error page
AND this is not:
<s:actionmessage/>
<% String v=null; v.length();%>
It stops render the page and generate java.lang.IllegalStateException in the log
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.