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 @before?
what is a RequestProcessor?
What is the procedure of operation of a form tag?
How action mapping is configured in Struts?
What is the purpose of execute method of action class?
What is an interceptor stack?
Can we have multiple struts config files ?
Give an alternative way to protect jsp’s with not much features from direct access.
What are different ways to create Action classes in Struts2?
what are java stuts? what are there uses
2 Answers Rupa, Tech Mahindra,
Why are frameworks used?
What is lookupdispatchaction?