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...

How to create validations?what are struts validation
components?

Answer Posted / n.ramakrishna goud

We can create two types of validations
1).Manually
2).Automated
we can create manual validation by implementing the
validate method in ActionForm ,DynaActionForm,Validator
or DynaValidatorForm
Also ,
we can use the automated validation like
Integer,email,creditcard etc., by providing the validation
in the following xml files.,
validation.xml
validation_rules.xml

Is This Answer Correct ?    11 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does struts2 token work?

909


For a single Struts application, can we have multiple struts-config.xml files?

936


What is strut web xml?

886


Difference between struts and spring? Or why use spring, if you are already using struts?

909


What are the loop holes of struts?

988


What’s the difference between struts and espresso?

915


How is token generated?

971


how does request processor relates to action mapping?

862


What do you mean by tiles in struts?

982


What is the default location of result pages and how can we change it?

956


What are the features of struts?

968


Can we have more than one struts-config.xml file for a single struts application?

882


What is struts actionmapping?

889


What are the main classes which are used in struts application?

921


Where should struts xml be placed?

864