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
Which components are available using actioncontext map?
What types of validations are available in xml based validation in struts2?
Can we have multiple struts config files in a single web app?
What are the features of struts?
Are interceptors and filters different?
What are the loop holes of struts?
What is the purpose of @doublerangefieldvalidator?
Do I have to credit struts on my own website?
What is the difference between plain-validator and field-validator?
Give an example where struts tiles may be used?
What is the purpose of action tag in struts.xml?
What are the two scope types for formbeans?
Do you need an alignment after replacing struts?
What are action errors and error and what are the consequences they impose?
Can we handle exceptions in Struts programmatically?