ABSTRACT

It is an error to define a form-property without a type type attribute.

EXPLANATION

Struts requires <form-property> tags to include a type attribute. Struts will throw an exception when processing a form that defines a form-property with no type.

Example 1: The following configuration omits a type for the name property.


<form-bean name="loginForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="name" />
<form-property name="password" type="java.lang.String" />
</form-bean>

REFERENCES

[1] Apache Struts 1.3 Specification