its a ActionForm controller or model?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ramesh
hi Sandya,
ActionForm means bean(having setters and getters+validate
())
bean menas model. so ActionForm means Model.
not controller.
Servlet can act as Controller only.
if u have any quires,please contact me
at:ballem_rb@yahoo.co.in
Is This Answer Correct ? | 6 Yes | 8 No |
Answer / madhuchilipi
Action Form is a Controller.Model means Business logic
Is This Answer Correct ? | 6 Yes | 19 No |
How tag libraries are defined in Struts?
Who makes the struts?
What is apache struts used for?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
Which configuration file is used for storing jsp configuration information in struts?
What validate() and reset() method does ?
What is the use of reset method of ActionForm class?
How to pass runtime Parameter in Struts1.2?
What is http forward?
What is the configuration files used in struts?
What are the some useful annotations introduced in struts2?
Difference between struts and spring? Or why use spring, if you are already using struts?