its a ActionForm controller or model?
Answer Posted / mohan
According to MVC2 rules, it is the responsibility of ActionServlet to do form validation but since its built-in servlet, we cant place validation logic in ActionServlet class, so we use ActionForm to do validation.......So ActionForm acts as a controller not model....
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which class is the Front Controller in Struts2?
What is the purpose of @beforeresult?
How you will make available any message resources definitions file to the struts framework environment?
What are construction struts?
What is actionmapping?
Explain the necessity of empty tag?
What is Custom Type Converter in Struts2?
If the framework doesn’t do what I want, can I request that a feature be added?
How action-mapping tag is used for request forwarding in struts configuration file?
What is the purpose of @customvalidator annotation?
What is includeaction?
What is the purpose of @requiredstringvalidator?
What is http forward?
What is role of actionservlet?
What does params interceptor?