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.

Reply via email to