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
What does apache struts do?
Is struts efficient?
Explain the difference between jakarta struts and apache struts?
Can we use struts and spring together?
Why we use struts over servlets?
What is struts and springs in java?
What are the loop holes of struts?
How we can install struts?
What is struts2 namespace?
What is the use of interceptor?
What is the naming convention for a resource bundle file in struts2?
How does one create an action in struts 2?
What does action do in struts?
What is actionform in struts?
What helpers in the form of jsp pages are provided in struts framework?