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 tag libraries are defined in Struts?
How to combine the struts with velocity template?
What are the core classes of struts?
What are action classes in struts?
Explain struts?
Describe the mvc on struts?
What is actioncontext?
How struts control data flow?
What is http forward?
What is the use of struts?
What is the difference between validation.xml and validator-rules.xml files in struts validation framework?
What is the use of interceptor?
How struts2 supports internationalization?
What is the purpose of @stringlengthfieldvalidator annotation?
What is interceptor struts2?