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

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

1 Answers   TCS,


What is struts xml?

0 Answers  


What is struts in j2ee?

0 Answers  


What is front controller in struts2?

0 Answers  


what is BUSINESS DELIGATE PATTERN,DAO,VO,DTO?

6 Answers   BOB Technologies, TCS,






What is the purpose of @results?

0 Answers  


Lists the bundled validators in struts?

0 Answers  


What is the use of namespace in action mapping in Struts2?

0 Answers  


How the flow of various requests happens in struts application?

0 Answers  


What is the difference between session scope and request scope when saving formbean ?

0 Answers  


Can you explain aware interfaces in struts2?

0 Answers  


what is the struts internal code?

1 Answers   Wipro,


Categories