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
What is difference between struts1 and struts2?
How many action classes can be used in struts application?
What steps are required to for an application migration from Struts1 to Struts2?
What is the purpose of @results?
Who wrote struts?
What is Struts2?
Why it called struts?
What is spring and struts in java?
What are the steps involved in creating a strut application?
Are interceptors thread safe?
What is difference between spring and struts?
What are inner class and anonymous class?
How action-mapping tag is used for request forwarding in struts configuration file?
What is the use of Struts.xml configuration file?
In which order struts framework searches for a message bundle?