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
How is token generated?
How exceptions are handled in struts application?
in struts how to use hibernate with struts>
How to display validation errors on jsp page?
What is spring and struts in java?
What are the components of struts framework?
What are the steps involved in creating a strut application?
What are different ways to create Action classes in Struts2?
Describe the mvc on struts?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
What is the difference between struts and spring?
What is the purpose of @key annotation annotation?
Explain about the future of struts?
Why do we use struts?
What is action class? What are the types of action class?