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 use of token interceptor in Struts2?
What is difference between spring and struts?
What is the purpose of @conversion?
What is struts actionmapping?
Which technologies can be used at view layer in struts?
What is dispatchaction?
In which method of action class the business logic is executed?
What are different Struts2 tags? How can we use them?
What is the purpose of @customvalidator annotation?
What is the procedure of operation of a form tag?
Do you need an alignment after replacing struts?
Define struts?
Explain architecture of struts2?
What is the purpose of @urlvalidator annotation?
How do I install struts?