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

What are disadvantages of Struts?

966


Which class of struts is responsible to converts data types from string and vice versa?

1041


What is spring and struts in java?

915


How does interceptor work in struts2?

891


Are actions thread safe?

920


Which model components are supported by Struts?

982


What is the purpose of @emailvalidator annotation?

955


How many struts config file in a struts application?

863


What is struts validator framework?

930


Give an example where struts tiles may be used?

959


Is struts action class singleton?

939


How action mapping is configured in Struts?

1042


How to get data from the velocity page in a action class?

907


What is execute method in struts?

871


How to handle exceptions in structs?

1026