[
https://issues.apache.org/struts/browse/WW-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes Wannemacher closed WW-3129.
-------------------------------
Resolution: Fixed
Assignee: Wes Wannemacher
No, Dave, it was in DefaultActionMapper. It is fixed now, if you set
DynamicMethodInvocation to false, you can't use actionName?method:someMethod or
actionName!someMethod
> struts.enable.DynamicMethodInvocation=false still allows to call methods
> dynamically
> ------------------------------------------------------------------------------------
>
> Key: WW-3129
> URL: https://issues.apache.org/struts/browse/WW-3129
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.1.6
> Environment: WinXP, Struts 2.1.6, JDK 1.6.0_12
> Reporter: fako
> Assignee: Wes Wannemacher
>
> In Struts2 documentation:
> struts.enable.DynamicMethodInvocation:
> ### Set this to false if you wish to disable implicit dynamic method
> invocation
> ### via the URL request. This includes URLs like foo!bar.action, as well as
> params
> ### like method:bar (but not action:foo).
> If i set to false, i still can invoke methods dynamically with method: prefix
> http://localhost:8080/struts/Calculator?method:toString
> Result: No result defined for action testapp.struts.action.CalculatorAction
> and result testapp.struts.action.calculatoract...@1dafbaf
> Invoking http://localhost:8080/struts/Calculator!toString.action works as
> intended:
> Result: There is no Action mapped for namespace / and action name
> Calculator!toString
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.