bug in struts.xml of the portlet demo (bad result URL)
------------------------------------------------------

                 Key: WW-2020
                 URL: https://issues.apache.org/struts/browse/WW-2020
             Project: Struts 2
          Issue Type: Bug
          Components: Examples
    Affects Versions: 2.0.8
         Environment: not relevant
            Reporter: olivier dupuy


replace
                <action name="processFormExampleEdit"
                        class="org.apache.struts2.portlet.example.FormExample">
                        <result name="input">
                                /WEB-INF/edtt/formExampleInput.jsp
                        </result>
                        <result name="success">
                                
/edit/processFormExampleForward.action?firstName=${firstName}&amp;lastName=${lastName}
                        </result>
                </action>
by
                <action name="processFormExampleEdit"
                        class="org.apache.struts2.portlet.example.FormExample">
                        <result name="input">
                                /WEB-INF/edit/formExampleInput.jsp   
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
                        </result>
                        <result name="success">
                                
/edit/processFormExampleForward.action?firstName=${firstName}&amp;lastName=${lastName}
                        </result>
                </action>


-- 
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