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
What is Custom Type Converter in Struts2?
How can we handle exceptions thrown by application in Struts2?
How can forward action be used to restrict a strut application to mvc?
What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?
What is container struts2?
What are the core components of a struct2 based application?
What does execandwait interceptor?
What is difference between actionform and dynaactionform?
What is the need of struts?
What are best practices to follow while developing Struts2 application?
How is declarative handling of exceptions done in struts ?
Difference between html tags and struts specific html tags
Can we handle exceptions in Struts programmatically?
What is Struts2?
What is the purpose of @expressionvalidator annotation?