From ed973456cbd8118eb7f75fc981b47d425aef7f48 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Mon, 22 Nov 2010 20:28:03 +0000 Subject: [PATCH 01/22] Branch to apply the latest security patch git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_2_1_1@1037870 13f79535-47bb-0310-9956-ffa450edef68 From c95a0f8b5e93bfb866a5095b00dd33950d2187f1 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Fri, 26 Nov 2010 22:23:25 +0000 Subject: [PATCH 02/22] Added Dynamic Method Invocation support git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_2_1_1@1039579 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/struts2/rest/RestActionMapper.java | 173 +++++++++--------- .../struts2/rest/RestActionMapperTest.java | 59 +++++- 2 files changed, 149 insertions(+), 83 deletions(-) diff --git a/plugins/rest/src/main/java/org/apache/struts2/rest/RestActionMapper.java b/plugins/rest/src/main/java/org/apache/struts2/rest/RestActionMapper.java index c292b9782..d293527bb 100644 --- a/plugins/rest/src/main/java/org/apache/struts2/rest/RestActionMapper.java +++ b/plugins/rest/src/main/java/org/apache/struts2/rest/RestActionMapper.java @@ -37,56 +37,56 @@ import java.util.Iterator; /** * - * - * This Restful action mapper enforces Ruby-On-Rails Rest-style mappings. If the method - * is not specified (via '!' or 'method:' prefix), the method is "guessed" at using + *

+ * This Restful action mapper enforces Ruby-On-Rails Rest-style mappings. If the method + * is not specified (via '!' or 'method:' prefix), the method is "guessed" at using * ReST-style conventions that examine the URL and the HTTP method. Special care has * been given to ensure this mapper works correctly with the codebehind plugin so that * XML configuration is unnecessary. - * + *

*

- * This mapper supports the following parameters: + * This mapper supports the following parameters: *

* *

* The following URL's will invoke its methods: *

- *