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

What is the difference between filters and interceptors ?

1241


Where should struts xml be placed?

990


What is used to display the intermediate result in an interceptor?

1000


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

1106


What are pull and push mvc architecture and which architecture does struts2 follow?

970


What is the difference between shocks and struts?

1006


What is dispatch action class?

1137


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

3236


What's mvc pattern ?

1074


What are the aware interfaces in struts2?

1082


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

1119


What are the benefits of Struts framework?

1040


What is the purpose of @createifnull annotation annotation?

1084


Explain the components of struts?

1018


How can you create your custom interceptor in struts 2?

992