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

State an example of struts configuration file as an action parameter for action servlet.

0 Answers  


What is the difference between requestaware and servletrequestaware interface?

0 Answers  


How to forward from Array List to Jsp in Struts ActionServlet class?

8 Answers  


What is java struts?

0 Answers  


Why it called struts?

0 Answers  


Explain about the process of functioning of the struts program?

0 Answers  


is it necessary to write struts-confing.xml ,what tags are important in that xml file?

2 Answers  


Explain the components of struts?

0 Answers  


What is the purpose of @expressionvalidator annotation?

0 Answers  


Is Struts Framework part of J2EE?

0 Answers  


what is the purpose of load_on_startup entry in struts- config.xml?

8 Answers   Satyam,


Why is action servlet a singleton in struts?

0 Answers  


Categories