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

What is actionmapping?

1116


What is filter dispatcher in struts?

948


Is struts efficient?

972


What is actioninvocation in struts2?

1063


What inbuilt themes are provided by struts2?

1175


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

983


Explain how to work with error tags?

1063


Which file is used by controller to get mapping information for request routing?

1101


Can you explain the directory structure for a struts folder in brief ?

1016


Give an example of validates method used to avoid errors.

1032


What is s token?

1040


What is pojo in struts2?

1064


What is the difference between validation.xml and validator-rules.xml files in struts?

968


How struts 2 validation works?

1150


In which order struts framework searches for a message bundle?

990