ABSTRACT

A form-bean without a type attribute will not be mapped correctly.

EXPLANATION

Struts uses form-bean entries to map HTML forms to actions. If a form-bean does not have a type, it cannot be mapped to an action.
Example 1: The following form-bean has an empty type attribute.


<form-beans>
<form-bean name="loginForm" type="">
<form-property name="name" type="java.lang.String" />
<form-property name="password" type="java.lang.String" />
</form-bean>
</form-beans>

REFERENCES

[1] Apache Struts 1.3 Specification