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 do you mean by actionservlet?
What are the features of struts 2?
What is Struts2?
Give an example where struts tiles may be used?
What is a custom tag?
Explain the components of struts?
What is the purpose of form-beans tag in struct-config.xml?
What is the purpose of @before annotation?
Can we handle exceptions in Struts programmatically?
What is the purpose of action-mappings tag in struct-config.xml?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What is the purpose of @beforeresult annotation?
Is struts compatible with other java technologies?
What is container struts2?
What is filter dispatcher in struts?