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

Clarify support for action!default.action delegating to doDefault()

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.16.1
    • Fix Version/s: 2.5
    • Component/s: Documentation
    • Labels:
      None

      Description

      Struts currently accepts both action!method.action and action!doMethod.action and will delegate them to doMethod(). However, the documentation doesn't explain this, and release notes and previous issues suggest that this is specifically unsupported.

      It would be nice to have a summary of whether this is supported for the long-term, still targeted for removal or a bug.

      The Release Notes 2.0.0 say:

      In Struts,
      try to execute submit method in the action, fail
      fail

      and WW-1423 specifically requests that behaviour be changed but, as of 2.3.16.1, DefaultActionInvocation will still retry doSubmit.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                joe@kafsemo.org Joseph Walton
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: