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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the core classes of struts?

754


Why use struts framework in java?

709


What are the features of struts?

739


What is the purpose of @intrangefieldvalidator annotation?

1029


What is the procedure of operation of a form tag?

726






what is meant by Struts Validator Framework?

743


Describe validate() and reset() methods.

754


Do I have to credit struts on my own website?

718


What is the purpose of @before annotation?

749


Can I have html form property without associated getter and setter formbean methods?

760


What is use of i18n interceptor?

716


What are the bundled validators?

756


What is a custom tag?

688


Can we use struts and spring together?

711


What is apache struts cve 2017 5638?

708