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 |
Explain how can we upload files in struts2 application?
Can we have different controllers in one struts app?
What is interceptor in Struts2?
what is purpose cvs and vss in eclipse?
What is token used for?
What is the purpose of @requiredstringvalidator annotation?
State the procedure for using forward attribute of link tag’s.
Explain about the future of struts?
What is struts in java with example?
What inbuilt themes are provided by struts2?
I will explain the scenario now i have a form1 having some fields and i made it extends DynaActionForm. in struts config how can i specify another form form2 which has to extend the form1 please specify is it better to use actionform or dyna action form in applations. is dyna action form is comfortable in declaring form variables of type 'ArrayList<somegenerics>' extend the
Is struts thread safe?