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 |
What are the struts2 configuration properties that control file uploading process?
What is pojo in struts2?
Difference between JSF Framework and Struts Framework.
13 Answers Accenture, BSS, IBM, TCS,
What is struts2 framework?
Is Struts Action class Thread Safe?
How can we display validation errors on jsp page?
What is actioninvocation?
Give an alternative way to protect jsp’s with not much features from direct access.
its a ActionForm controller or model?
16 Answers Patni, TCS, Wipro,
What is meant by custom tags?
What’s the utilization of resource bundle properties file in struts validation structure?
What is the purpose of @requiredstringvalidator annotation?