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 is ValueStack and OGNL?
What is the default location of result pages and how can we change it?
Will the struts tags support other markup languages such as wml ?
What do you mean by dynaactionform?
How can link tag’s action attribute be used?
What do you mean by the abstract package in struts2, and what is its utilization?
What is apache struts used for?
Do we need to pay the struts if being used in commercial purpose?
What is the purpose of @customvalidator annotation?
What is struts in j2ee?
What is the role of a handler in mvc based applications?
How do you convert struts to springs?
What is filter dispatcher in struts?
How the exceptions are handled in struts?
What is purpose of execandwait interceptor?