What is MVC Architecture?

Answer Posted / hrishikesh nandanwar

Model-View-Controller (MVC)
Model-View-Controller architecture is used for interactive
web-applications. This model minimizes the coupling between
business logic and data presentation to web user. This
model divides the web based application into three layers:
1. Model: Model domain contains the business logics and
functions that manipulate the business data. It provides
updated information to view domain and also gives response
to query. And the controller can access the functionality
which is encapsulated in the model.
2. View: View is responsible for presentation aspect of
application according to the model data and also
responsible to forward query response to the controller.
3. Controller: Controller accepts and intercepts user
requests and controls the business objects to fulfill these
requests. An application has one controller for related
functionality. Controller can also be depends on the type
of clients.

Is This Answer Correct ?    35 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can we upload files in struts2 application?

606


What are the pros of struts 2?

542


Why do the struts tags provide for so little formatting?

576


What is execute method in struts?

482


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

566






What is the purpose of @beforeresult?

590


Is struts compatible with other java technologies?

517


What is strut web xml?

522


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

614


Why is it called struts?

524


What is the default suffix for Struts2 action URI and how can we change it?

507


What is http forward?

537


How do you find the struts version being used in a project?

504


What is the purpose of @typeconversion annotation annotation?

543


What is front controller in struts?

550