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


Please Help Members By Posting Answers For Below Questions

How to use dispatchaction?

579


What is the purpose of struct-config.xml in struct2?

562


How struts2 supports internationalization?

654


What is the difference between requestaware and servletrequestaware interface?

580


How are interceptors and servlet filters different?

495






How can we write our own interceptor and map it for action?

573


What are action errors?

569


What design patterns are used in struts?

563


What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?

576


What do you know about validation plugin ?

514


What is the purpose of @before?

556


What is structs 2 validation framework?

568


What is defeult result type?

630


What is the role of a handler in mvc based applications?

750


Which components are available using actioncontext map?

724