Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.6
-
None
-
None
-
WinXP, Struts 2.1.6, JDK 1.6.0_12
Description
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.CalculatorAction@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
Attachments
Issue Links
- relates to
-
WW-3042 Backward incompatible changes in 2.1.7
- Closed