rleland 2003/01/28 21:35:25 Modified: web/example/WEB-INF struts-config.xml Log: Bug 16517 Reported by [EMAIL PROTECTED] Actually it isn't clear but the commented out XML wasn't supposed to be closed by a </form-bean> it was ment to be an optional part of the starting tag, but I agree it could trip up a beginner so I replicated the entire tag info for clarity. Revision Changes Path 1.29 +4 -1 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.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- struts-config.xml 7 Jan 2003 06:14:59 -0000 1.28 +++ struts-config.xml 29 Jan 2003 05:35:24 -0000 1.29 @@ -45,7 +45,7 @@ <!-- ========== Form Bean Definitions =================================== --> <form-beans> - <!-- Logon form bean --> + <!-- Logon form bean can be one of 3 types --> <!-- <form-bean name="logonForm" type="org.apache.struts.webapp.example.LogonForm"/> @@ -53,6 +53,9 @@ <!-- <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">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]