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 is the naming convention for a resource bundle file in struts2?

538


Does apache tomcat use struts?

504


What are the life cycle methods of interceptor?

517


Where should struts xml be placed?

501


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

552






List some struts tag libraries?

552


What is the difference between empty default namespace and root namespace?

554


What is apache struts vulnerability?

541


How to convert struts to spring mvc?

533


Describe the mvc on struts?

548


Explain the necessity of empty tag?

596


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

544


Difference between struts and spring?

581


How to combine the struts with velocity template?

488


How many servlet controllers are used in a Struts Application?

511