You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Mike Calmus (JIRA)" <ji...@apache.org> on 2008/02/14 18:06:40 UTC
[jira] Created: (WW-2490) redirect-action missing as default result
type
redirect-action missing as default result type
----------------------------------------------
Key: WW-2490
URL: https://issues.apache.org/struts/browse/WW-2490
Project: Struts 2
Issue Type: Bug
Components: XML Configuration
Affects Versions: 2.1.1
Reporter: Mike Calmus
Tried to change an existing Struts 2.0.x project to use the Struts 2.1.x code. Receiving errors on startup like the following:
There is no result type defined for type 'redirect-action' mapped with name 'success' - result - file:/C:/project/WebRoot/WEB-INF/classes/struts.xml:31:53
Documentation indicates this should be a default type:
http://struts.apache.org/2.x/docs/result-types.html
Adding the result type to the configuration allows things to proceed normally.
<result-type name="redirect-action" class="org.apache.struts2.dispatcher.ServletActionRedirectResult" />
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (WW-2490) redirect-action missing as default result
type
Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Newton closed WW-2490.
---------------------------
Resolution: Not A Problem
Starting with S2.0.7 camel-case interceptor and result names were added with the indication that the hyphenated names were to be removed in S2.1+. Not all of the documentation has been updated yet; I am closing this issue but will open a new issue specifically relating to the documentation updates that are still needed. Thanks.
> redirect-action missing as default result type
> ----------------------------------------------
>
> Key: WW-2490
> URL: https://issues.apache.org/struts/browse/WW-2490
> Project: Struts 2
> Issue Type: Bug
> Components: XML Configuration
> Affects Versions: 2.1.1
> Reporter: Mike Calmus
>
> Tried to change an existing Struts 2.0.x project to use the Struts 2.1.x code. Receiving errors on startup like the following:
> There is no result type defined for type 'redirect-action' mapped with name 'success' - result - file:/C:/project/WebRoot/WEB-INF/classes/struts.xml:31:53
> Documentation indicates this should be a default type:
> http://struts.apache.org/2.x/docs/result-types.html
> Adding the result type to the configuration allows things to proceed normally.
> <result-type name="redirect-action" class="org.apache.struts2.dispatcher.ServletActionRedirectResult" />
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.