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 execute method in struts?

927


What are Struts2 core components?

996


What are the applications of struts?

950


What is interceptor? And life cycle methods of interceptor?

1027


What is ValueStack and OGNL?

1047


Are the struts tags xhtml compliant ?

939


What does the term struts mean?

984


What is struts framework in java?

958


What is ognl?

1128


Why are frameworks used?

995


How are interceptors and servlet filters different?

972


What is the use of token interceptor in Struts2?

1075


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

1003


Explain the difference between plain-validator and field-validator in struts?

944


What does action do in struts?

986