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
How to use dispatchaction?
What is the purpose of struct-config.xml in struct2?
How struts2 supports internationalization?
What is the difference between requestaware and servletrequestaware interface?
How are interceptors and servlet filters different?
How can we write our own interceptor and map it for action?
What are action errors?
What design patterns are used in struts?
What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?
What do you know about validation plugin ?
What is the purpose of @before?
What is structs 2 validation framework?
What is defeult result type?
What is the role of a handler in mvc based applications?
Which components are available using actioncontext map?