Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 is the difference between plain-validator and field-validator?

0 Answers  


struts is thread safe or not ?give me answer as early as possible

5 Answers  


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

8 Answers  


What is Request Dispatcher and what is Request Process?

2 Answers  


How is the mvc design pattern used in struts framework?

0 Answers  






what is tiles in struts?

6 Answers  


How many instances of servlet usually run in a struts application ?

0 Answers  


How exception handling is provided in struts?

2 Answers   Accenture,


What is struts2 namespace?

0 Answers  


What is the purpose of plug-in tag in struct-config.xml?

0 Answers  


Main reasons for using servlet as a controller in struts. why not jsp

5 Answers  


What is actionform in struts?

0 Answers  






Categories