craigmcc 2003/01/31 10:00:36 Modified: web/example/WEB-INF struts-config.xml web.xml Removed: src/example/org/apache/struts/webapp/example LogonForm.java Log: Clean up some 1.0-isms that confuse newcomers. Revision Changes Path 1.30 +3 -20 jakarta-struts/web/example/WEB-INF/struts-config.xml Index: struts-config.xml =================================================================== RCS file: /home/cvs/jakarta-struts/web/example/WEB-INF/struts-config.xml,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- struts-config.xml 29 Jan 2003 05:35:24 -0000 1.29 +++ struts-config.xml 31 Jan 2003 18:00:35 -0000 1.30 @@ -7,12 +7,6 @@ <!-- This is the Struts configuration file for the example application, using the proposed new syntax. - - NOTE: You would only flesh out the details in the "form-bean" - declarations if you had a generator tool that used them to create - the corresponding Java classes for you. Otherwise, you would - need only the "form-bean" element itself, with the corresponding - "name" and "type" attributes. --> @@ -45,20 +39,9 @@ <!-- ========== Form Bean Definitions =================================== --> <form-beans> - <!-- Logon form bean can be one of 3 types --> -<!-- - <form-bean name="logonForm" - type="org.apache.struts.webapp.example.LogonForm"/> ---> -<!-- - <form-bean name="logonForm" - type="org.apache.struts.action.DynaActionForm"> - <form-property name="username" type="java.lang.String"/> - <form-property name="password" type="java.lang.String"/> - </form-bean> ---> - <form-bean name="logonForm" - type="org.apache.struts.validator.DynaValidatorForm"> + <!-- Logon form bean --> + <form-bean name="logonForm" + type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="username" type="java.lang.String"/> <form-property name="password" type="java.lang.String"/> </form-bean> 1.16 +1 -9 jakarta-struts/web/example/WEB-INF/web.xml Index: web.xml =================================================================== RCS file: /home/cvs/jakarta-struts/web/example/WEB-INF/web.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- web.xml 27 Feb 2002 06:20:59 -0000 1.15 +++ web.xml 31 Jan 2003 18:00:35 -0000 1.16 @@ -15,15 +15,7 @@ <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>3</param-value> - </init-param> - <init-param> - <param-name>detail</param-name> - <param-value>3</param-value> - </init-param> - <load-on-startup>2</load-on-startup> + <load-on-startup>1</load-on-startup> </servlet>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]