Author: wsmoak
Date: Sun Sep 18 20:23:30 2005
New Revision: 290052

URL: http://svn.apache.org/viewcvs?rev=290052&view=rev
Log:
Added struts-config.xml for Cactus test cases.  Submitted by Laurie Harper 
(laurie at holoweb.net).  Bugzilla # 36701

Added:
    struts/taglib/trunk/src/webapp/WEB-INF/
    struts/taglib/trunk/src/webapp/WEB-INF/struts-config.xml   (with props)

Added: struts/taglib/trunk/src/webapp/WEB-INF/struts-config.xml
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/src/webapp/WEB-INF/struts-config.xml?rev=290052&view=auto
==============================================================================
--- struts/taglib/trunk/src/webapp/WEB-INF/struts-config.xml (added)
+++ struts/taglib/trunk/src/webapp/WEB-INF/struts-config.xml Sun Sep 18 
20:23:30 2005
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+
+<!-- 
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ -->
+
+<!DOCTYPE struts-config PUBLIC
+          "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
+          "http://struts.apache.org/dtds/struts-config_1_3.dtd";>
+
+
+<struts-config>
+
+
+<!-- ================================================ Form Bean Definitions -->
+    <form-beans>
+
+        <form-bean name="testDynaFormBean"
+                   type="org.apache.struts.validator.DynaValidatorForm">
+          <form-property name="field1" type="java.lang.String"/>
+          <form-property name="field2" type="java.lang.String"/>
+        </form-bean>
+
+
+        <!-- Registration form bean -->
+        <form-bean name="testFormBean"
+                   type="org.apache.struts.taglib.SimpleBeanForTesting"/>
+
+
+    </form-beans>
+
+<!-- =========================================== Global Forward Definitions -->
+    <global-forwards>
+        <forward name="simpleForward"
+                    path="/path/to/non/existing/jsp.jsp"/>
+
+        <forward name="testIncludeTagForward"
+                    
path="/org/apache/struts/taglib/bean/resources/IncludeTagTest.jsp"/>
+    </global-forwards>
+
+<!-- =========================================== Action Mapping Definitions -->
+    <action-mappings>
+        <action    path="/testIncludeTagTransaction"
+                   
type="org.apache.struts.taglib.bean.resources.IncludeTagTransactionTestAction">
+          <forward name="success"
+                     
path="/org/apache/struts/taglib/bean/resources/IncludeTagTest.jsp"/>
+        </action>
+
+        <action    path="/simpleAction"
+                   type="does.not.exist.SimpleAction">
+          <forward name="success"
+                     path="/does/not/exist/jsp.jsp"/>
+        </action>
+
+        <action    path="/testFormTag"
+                   
type="org.apache.struts.taglib.html.resources.FormTagTestAction"
+                   name="testFormBean"
+                  scope="request">
+          <forward name="success"
+                      path="/org/apache/struts/taglib/html/TestFormTag1.jsp"/>
+        </action>
+    </action-mappings>
+
+<!-- ======================================== Message Resources Definitions -->
+    <message-resources
+      
parameter="org.apache.struts.taglib.bean.resources.ApplicationResources"/>
+
+    <message-resources
+      
parameter="org.apache.struts.taglib.bean.resources.AlternateApplicationResources"
+      key="alternate"/>
+
+  <!-- =================================================== Validator plugin -->
+
+<!--
+  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
+    <set-property
+        property="pathnames"
+        value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
+  </plug-in>
+-->
+
+</struts-config>
+
+

Propchange: struts/taglib/trunk/src/webapp/WEB-INF/struts-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: struts/taglib/trunk/src/webapp/WEB-INF/struts-config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to