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

Can explain about the validations and in your project
where did u used the validations?

Answer Posted / jo

validations are nothing but we are validating the form
values, either it would be unames or passwords..
we can do validations in struts in 2 ways,
1. by overriding validate() in formbean class (or)
2. by using validator framework..

and we can do validations using both ways at a time..
that time we hav to call super.validate() in the validate()
of our formbean class.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What configurations are stored in struts configuration file ?

953


What is the purpose of @element annotation annotation?

1023


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

937


What are the steps involved in creating a strut application?

920


What are the contents on web.xml in struts application ?

939


How is declarative handling of exceptions done in struts ?

890


What is validate() and reset() functions?

984


What is life cycle of an interceptor?

1018


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

925


How does one create an action in struts 2?

916


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

963


How can we display all validation errors to user on jsp page?

1058


What is the purpose of @result annotation?

1086


How can we group related actions in one group in Struts?

928


How you will display validation fail errors on jsp page?

905