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

What are the reasons for an error message not being displayed while developing struts application?

0 Answers  


What is dispatchaction?

0 Answers  


what is the purpose of action servlet and action?

5 Answers  


What is spring and struts in java?

0 Answers  


What is struts? Explain

0 Answers  


what is is the use DynaActionForm?

3 Answers   TCS,


what is struts? why Struts?

6 Answers   CTS, Infosys, TCS,


What are the two scope types for formbeans?

0 Answers  


What is the difference between forwardaction and includeaction?

0 Answers  


What is spring hibernate and struts in java?

0 Answers  


Give the details of xml files used in validator framework?

0 Answers  


In strurt why w use two differnt files web.xml and strut config.xml?

2 Answers  


Categories