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 the purpose of global-forwards tag in struct-config.xml?

927


What are the bundled validators?

972


Explain architecture of struts2?

1047


What are the steps involved in creating a strut application?

913


What are construction struts?

880


Explain about the process of functioning of the struts program?

987


What is the purpose of @after?

977


What is pojo in struts2?

959


Explain about struts relation to html tags?

916


Which servlet does the struts framework use?

932


What is strut action mapping?

936


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

7503


Which technologies can be used at view layer in struts?

1031


What is the purpose of @intrangefieldvalidator annotation?

1280


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

919