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?



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

Answer / 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

More Struts Interview Questions

Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

0 Answers  


What is the purpose of @beforeresult annotation?

0 Answers  


what are java stuts? what are there uses

2 Answers   Rupa, Tech Mahindra,


what is struts? why Struts?

6 Answers   CTS, Infosys, TCS,


What is the purpose of @key annotation annotation?

0 Answers  


how will you view ur jsp page to the client by using properties file?

2 Answers   Wipro,


How to set email notification using struts.Plz give the example code?

5 Answers   HCL,


Does apache struts run on windows?

0 Answers  


How can we handle exceptions thrown by application in Struts2?

0 Answers  


Give an example where struts tiles may be used?

0 Answers  


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

0 Answers  


What configuration files are used in struts?

0 Answers  


Categories