Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2020

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.8
    • 2.0.9, 2.1.0
    • Example Applications
    • None
    • not relevant

    Description

      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}&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}&lastName=${lastName}
      </result>
      </action>

      Attachments

        Activity

          People

            jholmes James Holmes
            odupuy olivier dupuy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: