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 can we group related actions in one group in Struts?

566


What do you mean by actionmapping?

536


What is the purpose of @requiredstringvalidator annotation?

536


What is the purpose of @customvalidator annotation?

577


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

528






What is struts in j2ee?

530


Give an alternative way to protect jsp’s with not much features from direct access.

560


How long do struts last?

535


What are the bundled validators?

594


What is the purpose of action tag in struts.xml?

564


What is front controller in struts2?

554


What is controller in struts2?

504


Do we need to pay the struts if being used in commercial purpose?

553


what is meant by Struts Validator Framework?

570


What is struts2 in java?

536