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


Please Help Members By Posting Answers For Below Questions

How tag libraries are defined in Struts?

574


How to combine the struts with velocity template?

492


What are the core classes of struts?

574


What are action classes in struts?

520


Explain struts?

555






Describe the mvc on struts?

554


What is actioncontext?

553


How struts control data flow?

540


What is http forward?

548


What is the use of struts?

520


What is the difference between validation.xml and validator-rules.xml files in struts validation framework?

623


What is the use of interceptor?

522


How struts2 supports internationalization?

654


What is the purpose of @stringlengthfieldvalidator annotation?

603


What is interceptor struts2?

534