In struts how to use regurlar formbeans using validation
framework explain?
Answer / 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 |
What is the purpose of form-be tag in struct-config.xml?
How can we handle exceptions thrown by application in Struts2?
What are different ways to create Action classes in Struts2?
why we are using vo,dao and dto design patterns in struts framework
How to override the default error message that can come during file uploading process?
What is filter dispatcher in struts?
How struts control data flow?
What is the difference between session scope and request scope when saving formbean ?
What is validate() and reset() functions?
How you will make available any message resources definitions file to the struts framework environment?
What is the purpose of plug-in tag in struct-config.xml?
Define struts?