DynaActionForm:



It is predefined form bean class that is use when no validation to be performs on the request data. Instead of creating a new ActionForm subclass and new get/set methods for each of your bean’s properties, you can list its properties, type, and defaults in the struts configuration file.
<form-beans>
    <form-bean name="DForm" type="org.apache.struts.action.DynaActionForm">
        <form-property name="name" type="java.lang.String" initial="Naveen"></form-property>
    </form-bean>
    </form-beans>

No comments:

Post a Comment