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 do you find the struts version being used in a project?

940


What is interceptor struts2?

1003


What are the differences between http direct and http indirect?

961


What’s the utilization of struts.xml configuration file?

930


Does Struts2 action and interceptors are thread safe?

1075


Can we have more than one struts-config.xml file for a single struts application?

924


What are the two types of validations supported by validator framework?

1018


What is struts framework in java?

959


What are the struts2 configuration properties that control file uploading process?

1127


How you will display validation fail errors on jsp page?

931


If the framework doesn’t do what I want, can I request that a feature be added?

947


How is declarative handling of exceptions done in struts ?

916


How many instances of servlet usually run in a struts application ?

1008


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

1063


What are the action classes in struts?

1007