what is diffrence between Dynaactionform,actionform and
Dynavalidateform

Answer Posted / jane priscilla

All three are javaBean Class that can maintain the session
state for web application and the ActionForm object is
automatically populated on the server side with data
entered from a form on the client side. but an
--->ActionForm(DynaValidateForm) can have getters(),Setters
(),reset() and the validator() methods.

--->DynaActionForm should be given in Struts-cofig.xml as
follows
<form-beans>
<form-bean name="employeeForm"
type="org.apache.struts.validator.DynaValidatorForm"
<form-property name="dispatch" type="java.lang.String"/>
</form-bean>
</form-beans>

Is This Answer Correct ?    21 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of '@customvalidator'?

572


What are the components of struts?

547


Which model components are supported by Struts?

561


What is the purpose of @key annotation annotation?

586


What is the apache struts vulnerability?

509






What is action servlet in struts?

528


What do you mean by action errors and what are the results they force?

564


What is form bean in struts?

503


Are actions thread safe?

528


Why use spring, if you are already using struts?

549


Name the different types of actions found in struts.

546


What is filter dispatcher in struts?

525


How to get data from the velocity page in a action class?

554


What is difference between interceptors and filters?

526


What is the role of a handler in mvc based applications?

734