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?
How properties of a form are validated in Struts?
What are best practices to follow while developing Struts2 application?
What is the naming convention for a resource bundle file in struts2?
What are action errors and error?
How do I access token?
What are the two scope types for formbeans?
What is front controller in struts2?
What are the custom tags?
Is struts compatible with other java technologies?
What are the different kinds of actions in struts?
Can you explain aware interfaces in struts2?
What is struts.devmode?
For a single Struts application, can we have multiple struts-config.xml files?
What is the apache struts vulnerability?