Codebehind unknown action handling should create package's default action class
-------------------------------------------------------------------------------
Key: WW-2702
URL: https://issues.apache.org/struts/browse/WW-2702
Project: Struts 2
Issue Type: Improvement
Components: Plugin - CodeBehind
Affects Versions: 2.1.2
Reporter: Jeromy Evans
Priority: Minor
Fix For: 2.1.3
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.