Monday, June 3, 2013
In Struts-config.xml file form names having multiple but id value must be unique other wise we will get id is already defined error will get when strut-config.xml file is loaded
In Struts-config.xml file form names having multiple but id value must be unique other wise we will get id is already defined error will get when strut-config.xml file is loaded
<form-bean name="loginValidation" type="org.apache.struts.validator.DynaValidatorForm" id="i1" >
<form-property name="userId" type="java.lang.String" />
<form-property name="password" type="java.lang.String" />
<form-property name="dept" type="java.lang.String" />
</form-bean>
<form-bean name="loginValidation" type="org.apache.struts.validator.DynaValidatorForm" id="i2">
<form-property name="userId" type="java.lang.String" />
<form-property name="password" type="java.lang.String" />
<form-property name="dept" type="java.lang.String" />
</form-bean>
No comments:
Post a Comment