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 to use forward action to restrict a strut application to mvc?
What is struts? Explain
Is struts 1 still supported?
At the point, you should go for struts framework?
How can forward action be used to restrict a strut application to mvc?
When it’s useful to use IncludeAction?
What is value stack?
Why do we need struts?
Explain about how requests from the client are sent?
What is the purpose of struts.xml in struct2?
What is the use of Struts.xml configuration file?
What is switchaction?
How to work with error tags?
What is the purpose of @intrangefieldvalidator annotation?
What is s token?