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

In struts how to use regurlar formbeans using validation
framework explain?

Answer Posted / santosh kumar

if u want to use validator plug-in in ur application
->u have to call the super class validate() from ur FormBean
class validate()

ex :
public ActionErrors validate(ActionMapping
map,HttpServletRequest req)
{
ActionErrors ers=super.validate(map,req);

----------------
----------------
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we use struts in java?

873


What is difference between spring and struts?

880


What are the custom tags?

864


How the exceptions are handled in struts?

933


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

7478


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

917


How is the action mapping specified?

899


What is the purpose of @keyproperty annotation annotation?

930


What is difference between lookupdispatchaction and dispatchaction?

1068


Explain about the future of struts?

888


Can we use struts and spring together?

933


Explain about tiles?

991


Explain about the library tag?

936


How is declarative handling of exceptions done in struts ?

874


What is the purpose of execute() method?

1011