its a ActionForm controller or model?

Answer Posted / mohan

I agree with Ramesh, Actionform is just a bean whr we will
be having setters and setters and some business logic and
validation rules, so its becomes Model, where as a Action
Class consists of ActionServlet, which as an intermediate
between Model and View(JSP), so the Action class becomes
the Controller... hope it helps...

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which design pattern the interceptors in struts2 is based on?

495


How many struts config file in a struts application?

527


What is the purpose of struts.properties in struct2?

531


How we can controlled duplicate form submission in struts?

522


What inbuilt themes are provided by struts2?

593






What is the use of forwardaction?

550


What is difference between struts1 and struts2?

508


What are construction struts?

513


What is the purpose of @typeconversion annotation annotation?

561


What are best practices to follow while developing Struts2 application?

611


What are the core classes of struts?

574


Difference between struts and spring?

583


What are disadvantages of Struts?

554


What is the differences between struts1 and struts2?

532


What is the purpose of struct-config.xml in struct2?

563