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 the difference between filters and interceptors ?
Where should struts xml be placed?
What is used to display the intermediate result in an interceptor?
Which interceptor is responsible for mapping request parameters to action class Java Bean properties?
What are pull and push mvc architecture and which architecture does struts2 follow?
What is the difference between shocks and struts?
What is dispatch action class?
1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they
What's mvc pattern ?
What are the aware interfaces in struts2?
How can we display all validation errors to user on jsp page?
What are the benefits of Struts framework?
What is the purpose of @createifnull annotation annotation?
Explain the components of struts?
How can you create your custom interceptor in struts 2?