struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hus...@apache.org
Subject svn commit: r376787 - in /struts/el/trunk/web/exercise-taglib/WEB-INF: struts-config.xml web.xml
Date Fri, 10 Feb 2006 18:26:52 GMT
Author: husted
Date: Fri Feb 10 10:26:50 2006
New Revision: 376787

URL: http://svn.apache.org/viewcvs?rev=376787&view=rev
Log:
Checkstyle Roundup 
* EL package reformatted with latest Jalopy settings. Stylistic changes only.


Modified:
    struts/el/trunk/web/exercise-taglib/WEB-INF/struts-config.xml
    struts/el/trunk/web/exercise-taglib/WEB-INF/web.xml

Modified: struts/el/trunk/web/exercise-taglib/WEB-INF/struts-config.xml
URL: http://svn.apache.org/viewcvs/struts/el/trunk/web/exercise-taglib/WEB-INF/struts-config.xml?rev=376787&r1=376786&r2=376787&view=diff
==============================================================================
--- struts/el/trunk/web/exercise-taglib/WEB-INF/struts-config.xml (original)
+++ struts/el/trunk/web/exercise-taglib/WEB-INF/struts-config.xml Fri Feb 10 10:26:50 2006
@@ -1,113 +1,114 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 
 <!DOCTYPE struts-config PUBLIC
-          "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
-          "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
+        "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
+        "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
 
 <struts-config>
 
-  <form-beans>
-    <form-bean name="testbean"
-               type="org.apache.struts.webapp.exercise.TestBean"/>
-    <form-bean name="dynabean" type="org.apache.struts.action.DynaActionForm">
-     <form-property name="foo" type="java.lang.String"/>
-     <form-property name="bar" type="java.lang.String"/>
-    </form-bean>
-  </form-beans>
-
-  <global-forwards>
-    <forward   name="index"                path="/index.jsp"/>
-    <forward name="redirectForward"
-             path="/logic-redirect.jsp?redirectType=forward&amp;param1=index"/>
-    <forward name="redirectHref"
-             path="/logic-redirect.jsp?redirectType=href&amp;param1=http://localhost:9090/strutsel-exercise-taglib/index.jsp"/>
-    <forward name="redirectPage"
-             path="/logic-redirect.jsp?redirectType=page&amp;param1=/index.jsp"/>
-  </global-forwards>
-
-  <action-mappings>
-
-    <action    path="/html-link"
-               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
-               name="testbean"
-              scope="session"
-           validate="false">
-      <forward name="input"                path="/html-link.jsp"/>
-    </action>
-
-    <action    path="/html-multibox"
-               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
-               name="testbean"
-              scope="session"
-           validate="false">
-      <forward name="input"                path="/html-multibox.jsp"/>
-    </action>
-
-    <action    path="/html-radio"
-               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
-               name="testbean"
-              scope="session"
-           validate="false">
-      <forward name="input"                path="/html-radio.jsp"/>
-    </action>
-
-    <action    path="/html-button"
-               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
-               name="testbean"
-              scope="session"
-           validate="false">
-      <forward name="input"                path="/html-button.jsp"/>
-    </action>
-
-    <action    path="/html-file"
-               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
-               name="testbean"
-              scope="session"
-           validate="false">
-      <forward name="input"                path="/html-file.jsp"/>
-    </action>
-
-    <action    path="/html-input"
-               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
-               name="testbean"
-              scope="session"
-           validate="false">
-      <forward name="input"                path="/html-input.jsp"/>
-    </action>
-
-    <action    path="/html-select"
-               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
-               name="testbean"
-              scope="session"
-           validate="false">
-      <forward name="input"                path="/html-select.jsp"/>
-    </action>
-
-    <action    path="/html-setters"
-               type="org.apache.struts.webapp.exercise.HtmlSettersAction"
-               name="testbean"
-              scope="session"
-           validate="false">
-      <forward name="input"                path="/bean-dyna.jsp"/>
-    </action>
-    <action    path="/bean-dyna"
-				   type="org.apache.struts.webapp.exercise.DynaSetAction"
-				   name="dynabean"
-              scope="session"
-           validate="false">
-      <forward name="success"                path="/bean-dyna.jsp"/>
-    </action>
-    <action    path="/html-indexed"
-				   type="org.apache.struts.webapp.exercise.HtmlSettersAction"
-               name="testbean"
-              scope="session"
-           validate="false">
-      <forward name="input"                path="/html-indexed.jsp"/>
-    </action>
-  </action-mappings>
-
-  <message-resources
-    parameter="org.apache.struts.webapp.exercise.ApplicationResources"
-    null="false" />
+    <form-beans>
+        <form-bean name="testbean"
+                   type="org.apache.struts.webapp.exercise.TestBean"/>
+        <form-bean name="dynabean"
+                   type="org.apache.struts.action.DynaActionForm">
+            <form-property name="foo" type="java.lang.String"/>
+            <form-property name="bar" type="java.lang.String"/>
+        </form-bean>
+    </form-beans>
+
+    <global-forwards>
+        <forward name="index" path="/index.jsp"/>
+        <forward name="redirectForward"
+                 path="/logic-redirect.jsp?redirectType=forward&amp;param1=index"/>
+        <forward name="redirectHref"
+                 path="/logic-redirect.jsp?redirectType=href&amp;param1=http://localhost:9090/strutsel-exercise-taglib/index.jsp"/>
+        <forward name="redirectPage"
+                 path="/logic-redirect.jsp?redirectType=page&amp;param1=/index.jsp"/>
+    </global-forwards>
+
+    <action-mappings>
+
+        <action path="/html-link"
+                type="org.apache.struts.webapp.exercise.HtmlSettersAction"
+                name="testbean"
+                scope="session"
+                validate="false">
+            <forward name="input" path="/html-link.jsp"/>
+        </action>
+
+        <action path="/html-multibox"
+                type="org.apache.struts.webapp.exercise.HtmlSettersAction"
+                name="testbean"
+                scope="session"
+                validate="false">
+            <forward name="input" path="/html-multibox.jsp"/>
+        </action>
+
+        <action path="/html-radio"
+                type="org.apache.struts.webapp.exercise.HtmlSettersAction"
+                name="testbean"
+                scope="session"
+                validate="false">
+            <forward name="input" path="/html-radio.jsp"/>
+        </action>
+
+        <action path="/html-button"
+                type="org.apache.struts.webapp.exercise.HtmlSettersAction"
+                name="testbean"
+                scope="session"
+                validate="false">
+            <forward name="input" path="/html-button.jsp"/>
+        </action>
+
+        <action path="/html-file"
+                type="org.apache.struts.webapp.exercise.HtmlSettersAction"
+                name="testbean"
+                scope="session"
+                validate="false">
+            <forward name="input" path="/html-file.jsp"/>
+        </action>
+
+        <action path="/html-input"
+                type="org.apache.struts.webapp.exercise.HtmlSettersAction"
+                name="testbean"
+                scope="session"
+                validate="false">
+            <forward name="input" path="/html-input.jsp"/>
+        </action>
+
+        <action path="/html-select"
+                type="org.apache.struts.webapp.exercise.HtmlSettersAction"
+                name="testbean"
+                scope="session"
+                validate="false">
+            <forward name="input" path="/html-select.jsp"/>
+        </action>
+
+        <action path="/html-setters"
+                type="org.apache.struts.webapp.exercise.HtmlSettersAction"
+                name="testbean"
+                scope="session"
+                validate="false">
+            <forward name="input" path="/bean-dyna.jsp"/>
+        </action>
+        <action path="/bean-dyna"
+                type="org.apache.struts.webapp.exercise.DynaSetAction"
+                name="dynabean"
+                scope="session"
+                validate="false">
+            <forward name="success" path="/bean-dyna.jsp"/>
+        </action>
+        <action path="/html-indexed"
+                type="org.apache.struts.webapp.exercise.HtmlSettersAction"
+                name="testbean"
+                scope="session"
+                validate="false">
+            <forward name="input" path="/html-indexed.jsp"/>
+        </action>
+    </action-mappings>
+
+    <message-resources
+            parameter="org.apache.struts.webapp.exercise.ApplicationResources"
+            null="false"/>
 
 </struts-config>

Modified: struts/el/trunk/web/exercise-taglib/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/struts/el/trunk/web/exercise-taglib/WEB-INF/web.xml?rev=376787&r1=376786&r2=376787&view=diff
==============================================================================
--- struts/el/trunk/web/exercise-taglib/WEB-INF/web.xml (original)
+++ struts/el/trunk/web/exercise-taglib/WEB-INF/web.xml Fri Feb 10 10:26:50 2006
@@ -1,49 +1,50 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
 <!DOCTYPE web-app
-  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
-  "http://java.sun.com/dtd/web-app_2_3.dtd">
+        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+        "http://java.sun.com/dtd/web-app_2_3.dtd">
 
 <web-app>
 
-  <display-name>Struts-EL Taglib Exerciser</display-name>
+    <display-name>Struts-EL Taglib Exerciser</display-name>
 
-  <!-- Action Servlet Configuration -->
-  <servlet>
-    <servlet-name>action</servlet-name>
-    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
-    <init-param>
-      <param-name>application</param-name>
-      <param-value>org.apache.struts.webapp.exercise.ApplicationResources</param-value>
-    </init-param>
-    <init-param>
-      <param-name>config</param-name>
-      <param-value>/WEB-INF/struts-config.xml</param-value>
-    </init-param>
-    <init-param>
-      <param-name>debug</param-name>
-      <param-value>2</param-value>
-    </init-param>
-    <init-param>
-      <param-name>detail</param-name>
-      <param-value>2</param-value>
-    </init-param>
-    <load-on-startup>2</load-on-startup>
-  </servlet>
-
-
-  <!-- Action Servlet Mapping -->
-  <servlet-mapping>
-    <servlet-name>action</servlet-name>
-    <url-pattern>*.do</url-pattern>
-  </servlet-mapping>
-
-
-  <!-- The Welcome File List -->
-  <welcome-file-list>
-    <welcome-file>index.jsp</welcome-file>
-    <welcome-file>index.html</welcome-file>
-  </welcome-file-list>
+    <!-- Action Servlet Configuration -->
+    <servlet>
+        <servlet-name>action</servlet-name>
+        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
+        <init-param>
+            <param-name>application</param-name>
+            <param-value>
+                org.apache.struts.webapp.exercise.ApplicationResources</param-value>
+        </init-param>
+        <init-param>
+            <param-name>config</param-name>
+            <param-value>/WEB-INF/struts-config.xml</param-value>
+        </init-param>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>2</param-value>
+        </init-param>
+        <init-param>
+            <param-name>detail</param-name>
+            <param-value>2</param-value>
+        </init-param>
+        <load-on-startup>2</load-on-startup>
+    </servlet>
+
+
+    <!-- Action Servlet Mapping -->
+    <servlet-mapping>
+        <servlet-name>action</servlet-name>
+        <url-pattern>*.do</url-pattern>
+    </servlet-mapping>
+
+
+    <!-- The Welcome File List -->
+    <welcome-file-list>
+        <welcome-file>index.jsp</welcome-file>
+        <welcome-file>index.html</welcome-file>
+    </welcome-file-list>
 
 
 </web-app>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message