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
How do you find the struts version being used in a project?
What is interceptor struts2?
What are the differences between http direct and http indirect?
What’s the utilization of struts.xml configuration file?
Does Struts2 action and interceptors are thread safe?
Can we have more than one struts-config.xml file for a single struts application?
What are the two types of validations supported by validator framework?
What is struts framework in java?
What are the struts2 configuration properties that control file uploading process?
How you will display validation fail errors on jsp page?
If the framework doesn’t do what I want, can I request that a feature be added?
How is declarative handling of exceptions done in struts ?
How many instances of servlet usually run in a struts application ?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What are the action classes in struts?