what is diffrence between Dynaactionform,actionform and
Dynavalidateform

Answer Posted / madhukiran

ActionForm will populate the properties depending on the
respective JSP fields.In this we can specify the validate()
method (if required) for validations or else you can use
ActionErrors for validating..

DynaActionForm has to be defined in Struts-config.xml and
it may have many property fields. We can use this form for
many no.of JSPs.Single dynaActionForm can serve for many
number of JSPs.

DyanValidateForm is same as DynaActionForm but we no need
to specify explicitly for the Validations. If we define a
DynaActionForm as DynaValidateForm, then it will look up of
rthe validations.

One more is there DynaValidatorActionForm which will allow
you to specify the path variable of <action> tag in
Validator.xml where as in DynaValidateForm will take
formname.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the steps used to setup dispatch action?

713


What are inner class and anonymous class?

736


How is the mvc design pattern used in struts framework?

706


How do you convert struts to springs?

768


Give an example of validates method used to avoid errors.

711


How many struts config file in a struts application?

697


What are the core classes of struts framework? Explain

738


Explain integrate log4j in struts2 application?

773


How duplicate form submission can be controlled in struts?

874


What is actionform in struts?

664


What is http forward?

720


What is interceptor? And life cycle methods of interceptor?

756


What are the core classes of the struts framework?

695


What’s the utilization of resource bundle properties file in struts validation structure?

820


What are the steps of struts installation?

777