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
What is the purpose of '@customvalidator'?
What are the components of struts?
Which model components are supported by Struts?
What is the purpose of @key annotation annotation?
What is the apache struts vulnerability?
What is action servlet in struts?
What do you mean by action errors and what are the results they force?
What is form bean in struts?
Are actions thread safe?
Why use spring, if you are already using struts?
Name the different types of actions found in struts.
What is filter dispatcher in struts?
How to get data from the velocity page in a action class?
What is difference between interceptors and filters?
What is the role of a handler in mvc based applications?