husted      2004/02/18 16:09:37

  Modified:    web/examples/WEB-INF struts-config.xml
               web/examples/WEB-INF/exercise struts-config.xml
  Log:
  Add sample classes for testing and usage examples.
  
  Revision  Changes    Path
  1.6       +11 -6     jakarta-struts/web/examples/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/struts-config.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- struts-config.xml 14 Feb 2004 20:51:56 -0000      1.5
  +++ struts-config.xml 19 Feb 2004 00:09:37 -0000      1.6
  @@ -7,16 +7,21 @@
   -->
   <struts-config>
     <data-sources />
  -  <form-beans />
  +  <form-beans type="org.apache.struts.webapp.examples.CustomFormBean">
  +      <form-bean name="example" 
type="org.apache.struts.webapp.examples.CustomFormBean" />
  +      <set-property property="example" value="EXAMPLE" />
  +  </form-beans>
     <global-exceptions />
  -  <global-forwards>
  +  <global-forwards type="org.apache.struts.webapp.examples.CustomActionForward">
         <!-- utilize a custom ActionForward as an example only -->
  -    <forward name="welcome" path="/welcome.do" 
className="org.apache.struts.webapp.examples.CustomActionForward">
  +    <forward name="welcome" path="/welcome.do">
            <set-property property="example" value="EXAMPLE" />
        </forward>
      </global-forwards>
  -  <action-mappings>
  -    <action path="/welcome" forward="/welcome.jsp" />
  +  <action-mappings type="org.apache.struts.webapp.examples.CustomActionMapping">
  +    <action path="/welcome" forward="/welcome.jsp" >
  +        <set-property property="example" value="EXAMPLE" />
  +    </action>
     </action-mappings>
     <message-resources parameter="MessageResources" />
   </struts-config>
  
  
  
  1.8       +2 -0      jakarta-struts/web/examples/WEB-INF/exercise/struts-config.xml
  
  Index: struts-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/exercise/struts-config.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- struts-config.xml 13 Feb 2004 11:07:55 -0000      1.7
  +++ struts-config.xml 19 Feb 2004 00:09:37 -0000      1.8
  @@ -16,7 +16,9 @@
       <forward name="relative" path="/welcome.do" />
       <forward name="redirect-default" path="/" redirect="true" />
       <forward name="logic-forward" path="/logic-forward.do" />
  +      <!--
       <forward name="cross-module" module="" path="/welcome.do" />
  +      -->
     </global-forwards>
     <action-mappings>
       <action path="/welcome" forward="/index.html" />
  
  
  

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

Reply via email to