[
https://issues.apache.org/jira/browse/WW-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart closed WW-2954.
-----------------------------
Resolution: Won't Fix
> s:actionerror and s:actionmessage prevent error page handling and throws
> java.lang.IllegalStateException
> --------------------------------------------------------------------------------------------------------
>
> Key: WW-2954
> URL: https://issues.apache.org/jira/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: Major
> Fix For: 6.1.0
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)