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 design patterns are used in struts?
What validate() and reset() method does ?
What is difference between interceptors and filters?
Name the different types of actions found in struts.
What is actionmapping?
What is the difference between struts1 and struts2?
When do I need “struts.jar” on my classpath?
What are result types in struts?
Why do we need struts?
What's mvc pattern ?
What’s the difference between struts and turbine?
Which servlet does the struts framework use?
What is life cycle of an interceptor?
What are interceptors in struts 2?
What is filter dispatcher in struts?