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
What is struts?
What helpers in the form of jsp pages are provided in struts framework?
What is the different actions available in struts?
What are the benefits of Interceptors in Struts2?
What is the role of a handler in mvc based applications?
What is the purpose of @key?
What are disadvantages of Struts?
What do you mean by a custom tag?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?
Are interceptors thread safe?
How to use dispatchaction?
What is the difference between struts and spring?
What validate() and reset() method does ?
Give an example of validates method used to avoid errors.
Which configuration file is used for storing jsp configuration information in struts?