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
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
What is struts? Explain
Why actionservlet is singleton in struts?
What is action class?
Which configuration file is used for storing jsp configuration information in struts?
What is the purpose of @expressionvalidator annotation?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
What are the important methods of actionform?
What is the difference between struts and spring?
What are disadvantages of Struts?
How to display validation errors on jsp page?
What configurations are stored in struts configuration file ?
What do you mean by a custom tag?
What is the differences between struts1 and struts2?
What is struts?