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

What is the purpose of @key annotation annotation?

584


What is package name in struts xml?

538


How to handle exceptions in structs?

558


Which model components are supported by Struts?

560


Are struts thread safe?

547






What are the classes used in struts?

617


Why we use struts in java?

505


What are the struts2 configuration properties that control file uploading process?

594


What is struts framework?

535


Is there a particularly good ide to use with struts?

491


What is front controller in struts?

551


What is the difference between shocks and struts?

491


What is difference between spring and struts?

494


What is struts2 framework?

502


What are the cons of struts 2?

560