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 |
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
What is the purpose of @beforeresult annotation?
what are java stuts? what are there uses
2 Answers Rupa, Tech Mahindra,
what is struts? why Struts?
What is the purpose of @key annotation annotation?
how will you view ur jsp page to the client by using properties file?
How to set email notification using struts.Plz give the example code?
Does apache struts run on windows?
How can we handle exceptions thrown by application in Struts2?
Give an example where struts tiles may be used?
What are the struts2 configuration properties that control file uploading process?
What configuration files are used in struts?