Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is diffrence between Dynaactionform,actionform and
Dynavalidateform

Answer Posted / madhukiran

ActionForm will populate the properties depending on the
respective JSP fields.In this we can specify the validate()
method (if required) for validations or else you can use
ActionErrors for validating..

DynaActionForm has to be defined in Struts-config.xml and
it may have many property fields. We can use this form for
many no.of JSPs.Single dynaActionForm can serve for many
number of JSPs.

DyanValidateForm is same as DynaActionForm but we no need
to specify explicitly for the Validations. If we define a
DynaActionForm as DynaValidateForm, then it will look up of
rthe validations.

One more is there DynaValidatorActionForm which will allow
you to specify the path variable of <action> tag in
Validator.xml where as in DynaValidateForm will take
formname.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why it called struts?

963


What is difference between spring and struts?

946


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

1064


In which method of action class the business logic is executed?

987


How does struts2 token work?

987


What are interceptors in struts 2?

1017


What are the core classes of struts?

1042


What do you mean by actionform?

984


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

1023


What should be the name of xml file used for validation in struts?

938


What is ognl?

1142


Why are struts tightly coupled?

981


What is the purpose of @intrangefieldvalidator annotation?

1314


What is the purpose of form-beans tag in struct-config.xml?

913


Why use struts framework in java?

1102