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
Can we have multiple struts config files in a single web app?
What is difference between struts1 and struts2?
What is the role of action class in struts?
What do you mean by a custom tag?
How can link tag’s action attribute be used?
What is the need of struts?
What are the contents on web.xml in struts application ?
Explain about logic match tag?
What is difference between actionform and dynaactionform?
Difference between html tags and struts specific html tags
What is the actionform?
What are interceptors in struts 2?
What is the default location of result pages and how can we change it?
When it’s useful to use IncludeAction?
What is interceptor in Struts2?