You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2017/01/02 08:36:38 UTC

[1/2] struts-examples git commit: Uses the latest snapsho version

Repository: struts-examples
Updated Branches:
  refs/heads/master d4619afd2 -> 06ddc54a6


Uses the latest snapsho version


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/855f6688
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/855f6688
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/855f6688

Branch: refs/heads/master
Commit: 855f6688c01add131668bf3682ef19a090a71418
Parents: d4619af
Author: Lukasz Lenart <lu...@gmail.com>
Authored: Mon Jan 2 09:36:10 2017 +0100
Committer: Lukasz Lenart <lu...@gmail.com>
Committed: Mon Jan 2 09:36:10 2017 +0100

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/855f6688/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index bef3bc8..9232e41 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,7 +39,7 @@
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <struts2.version>2.5.6-SNAPSHOT</struts2.version>
+        <struts2.version>2.5.9-SNAPSHOT</struts2.version>
     </properties>
 
     <modules>


[2/2] struts-examples git commit: Updates config to be aligned with SMI

Posted by lu...@apache.org.
Updates config to be aligned with SMI


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/06ddc54a
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/06ddc54a
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/06ddc54a

Branch: refs/heads/master
Commit: 06ddc54a6a668c8db8dedc1792ae82b4c422079e
Parents: 855f668
Author: Lukasz Lenart <lu...@gmail.com>
Authored: Mon Jan 2 09:36:25 2017 +0100
Committer: Lukasz Lenart <lu...@gmail.com>
Committed: Mon Jan 2 09:36:25 2017 +0100

----------------------------------------------------------------------
 wildcard-method-selection/src/main/resources/struts.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/06ddc54a/wildcard-method-selection/src/main/resources/struts.xml
----------------------------------------------------------------------
diff --git a/wildcard-method-selection/src/main/resources/struts.xml b/wildcard-method-selection/src/main/resources/struts.xml
index 9aab5c6..ede0585 100644
--- a/wildcard-method-selection/src/main/resources/struts.xml
+++ b/wildcard-method-selection/src/main/resources/struts.xml
@@ -5,10 +5,9 @@
 
 <struts>
 
-   <constant name="struts.devMode" value="true" />
+   <constant name="struts.devMode" value="false" />
    <constant name="struts.enable.DynamicMethodInvocation" value="false" />
 
-   
    <package name="wildcardmethodexample" extends="struts-default">
 
         <!-- Whatever value is before Person for the name of
@@ -19,11 +18,13 @@
 		<action name="*Person" class="org.apache.struts.tutorials.wildcardmethod.action.PersonAction" method="{1}">
 			<result name="success">view.jsp</result>
 			<result name="input">input.jsp</result>
+			<allowed-methods>create,edit,saveOrUpdate,delete</allowed-methods>
 		</action>
 		
 		<action name="person!*" class="org.apache.struts.tutorials.wildcardmethod.action.PersonAction" method="run{1}This">
 			<result name="success">view.jsp</result>
 			<result name="input">input.jsp</result>
+			<allowed-methods>runCreateThis</allowed-methods>
 		</action>
 
    </package>