In Struts Programming which is the controller,which is the
model?

Answer Posted / nazneen

A Model contains business logic and data.
In a multi-device application, the Model is implemented as standard Java Bean objects. The data contained within the Java Bean are accessed with getter and setter methods, and business logic contained in the Java Bean is invoked with method invocations. These Java Beans are bound to the View and Controller by a a part of the multi-device application


Controller:
Controller is Action Servlet

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is struts-default package and what are it’s benefits?

766


What are interceptors in struts 2?

759


Explain struts?

747


What is the life cycle of actionform?

740


What is the purpose of execute() method?

776


What is interceptor struts2?

726


What is the purpose of @beforeresult annotation?

755


What is token used for?

663


What is the purpose of @typeconversion annotation annotation?

747


What is declarative exception handling in struts?

744


Difference between struts and spring? Or why use spring, if you are already using struts?

714


Can we use struts and spring together?

725


What are the steps involved in creating a strut application?

713


What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?

776


Difference between struts and spring?

774