struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Woon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4100) "error" result defined in global-results is ignored when using convention plugin
Date Tue, 11 Jun 2013 07:40:19 GMT

     [ https://issues.apache.org/jira/browse/WW-4100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Woon updated WW-4100:
--------------------------

    Description: 
If you have an "error" result defined in global-results in struts.xml and use the convention
plugin, the global error result is ignored.

If you have this:
{code}
    <global-results>
      <result name="error" type="dispatcher">/error/strutsError.jsp</result>
    </global-results>
  </package>
{code}

The convention plugin will only dispatch to action-error.jsp or action.jsp when the former
is not found, ignoring the global-results.


  was:
If you have an "error" result defined in global-results in struts.xml and use the convention
plugin, the global error result is ignored.

{code}
    <global-results>
      <result name="error" type="dispatcher">/error/strutsError.jsp</result>
    </global-results>
  </package>
{code}



    
> "error" result defined in global-results is ignored when using convention plugin
> --------------------------------------------------------------------------------
>
>                 Key: WW-4100
>                 URL: https://issues.apache.org/jira/browse/WW-4100
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Convention
>    Affects Versions: 2.3.14.3
>            Reporter: Mark Woon
>
> If you have an "error" result defined in global-results in struts.xml and use the convention
plugin, the global error result is ignored.
> If you have this:
> {code}
>     <global-results>
>       <result name="error" type="dispatcher">/error/strutsError.jsp</result>
>     </global-results>
>   </package>
> {code}
> The convention plugin will only dispatch to action-error.jsp or action.jsp when the former
is not found, ignoring the global-results.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message