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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.16.1
    • 2.5
    • Documentation
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: