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

Codebehind unknown action handling should create package's default action class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.2
    • 2.1.3
    • Plugin - CodeBehind
    • None

    Description

      CodeBehindUnknownHandler is currently hardcoded to create an ActionSupport instance for unknown actions.

      If the unknown handler is changed to use the PackageConfig.defaultClassRef then users/plugins can substitute in an alternate unknown action.

      This change is required for handling unknown actions when using the REST plugin as ActionSupport only has an execute() method. With this change the REST Plugin can define a more appropriate default action to use.

      Split from WW-1881

      Attachments

        Activity

          People

            jeromy Jeromy Evans
            jeromy Jeromy Evans
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: