what is diffrence between Dynaactionform,actionform and
Dynavalidateform
Answer Posted / ramkiran
In case of the ActionForm user has to write the setters and
getters for every jsp page(request).supoose we have 10
jsps then we have to write10 Action Forms.Dyna Action is a
Generic action form which represents a form.
In DynaActionForm :properties of the form are decided at
the time of deplying the application.
DynaActionForm eliminates this burden and creates the form
bean itself. This way we don't have to write setters and
getters...infact we don't have to give any bean class. To
use DynaAction Form, we have to declare the form bean as a
DynaActionForm Type in struts-config.xml. You will have to
declare the properties and their type too.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
How action-mapping tag is used for request forwarding in struts configuration file?
What is the use of Struts.xml configuration file?
How can duplicate form submission be handled in struts 2?
What is the use of lookupdispatchaction?
Explain design patterns which is used in struts?
Explain about the validation steps which have to be carried during validation of client-side address?
how to get the last 10 elements using logic:iterate in struts with hiernate from database.
What is action chaining ?
What is the default suffix for struts2 action uri ?
How struts2 supports internationalization?
Explain how to work with error tags?
What’s the difference between struts and espresso?
Why actionservlet is singleton in struts?
What should be the name of xml file used for validation in struts?
Which configuration file is used for storing jsp configuration information in struts?