struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject svn commit: r1036428 - in /struts/struts2/trunk/archetypes: struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/struts.xml struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml
Date Thu, 18 Nov 2010 12:04:35 GMT
Author: lukaszlenart
Date: Thu Nov 18 12:04:35 2010
New Revision: 1036428

URL: http://svn.apache.org/viewvc?rev=1036428&view=rev
Log:
Disabled Dynamic Method Invocation by default in Maven archetypes

Added:
    struts/struts2/trunk/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/struts.xml
Modified:
    struts/struts2/trunk/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml

Added: struts/struts2/trunk/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/struts.xml
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/struts.xml?rev=1036428&view=auto
==============================================================================
--- struts/struts2/trunk/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/struts.xml
(added)
+++ struts/struts2/trunk/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/struts.xml
Thu Nov 18 12:04:35 2010
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE struts PUBLIC
+          "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
+          "http://struts.apache.org/dtds/struts-2.0.dtd">
+<struts>
+
+  <constant name="struts.enable.DynamicMethodInvocation" value="false"/>
+  <constant name="struts.devMode" value="true"/>
+
+</struts>

Modified: struts/struts2/trunk/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml?rev=1036428&r1=1036427&r2=1036428&view=diff
==============================================================================
--- struts/struts2/trunk/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml
(original)
+++ struts/struts2/trunk/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml
Thu Nov 18 12:04:35 2010
@@ -5,6 +5,9 @@
     "http://struts.apache.org/dtds/struts-2.0.dtd">
 
 <struts>
+
+    <constant name="struts.enable.DynamicMethodInvocation" value="false"/>
+
 	<package name="myPackage" extends="struts-default">
 		<action name="index" class="${package}.IndexAction">
 			<result>/jsp/index.jsp</result>



Mime
View raw message