adspace


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 action chaining ?

1179


What is the difference between filters and interceptors ?

1322


What are the contents on web.xml in struts application ?

1080


What do you know about validation plugin ?

1040


How is declarative handling of exceptions done in struts ?

1014