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

How to use forward action to restrict a strut application to mvc?

1004


What is struts? Explain

902


Is struts 1 still supported?

891


At the point, you should go for struts framework?

891


How can forward action be used to restrict a strut application to mvc?

936


When it’s useful to use IncludeAction?

974


What is value stack?

988


Why do we need struts?

880


Explain about how requests from the client are sent?

934


What is the purpose of struts.xml in struct2?

1085


What is the use of Struts.xml configuration file?

892


What is switchaction?

1078


How to work with error tags?

905


What is the purpose of @intrangefieldvalidator annotation?

1282


What is s token?

952