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 the purpose of @doublerangefieldvalidator annotation?
What is the default location of result pages and how can we change it?
What is the purpose of @after?
What is the purpose of dispatcher result type?
Can you explain custom tag?
What is the purpose of execute method of action class?
What is ognl?
What are the steps involved in creating a strut application?
What are the main classes which are used in struts application?
What is actioncontext?
What is the use of resourcebundle.properties file in Struts Validation framework?
What is ValueStack and OGNL?
Explain about the
Explain struts.devmode?
What is http redirect?