A form-bean
without a name
attribute will not be used.
Struts uses the form-bean
name to map HTML forms to actions. If a form-bean
does not have a name, it cannot be mapped to an action and indicates either a superfluous definition or an accidentally omitted bean.
Here is a proper form-bean example:
Example 1: The following form-bean
has an empty name
attribute.
<form-beans>
<form-bean name="" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="name" type="java.lang.String" />
<form-property name="password" type="java.lang.String" />
</form-bean>
</form-beans>
[1] Apache Struts 1.3 Specification