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
What is the purpose of @result?
What are the cons of struts 2?
What is the actionform?
What is the default suffix for struts2 action uri ?
What are inner class and anonymous class?
What is front controller in struts?
Explain about struts relation to html tags?
What is struts actionmapping?
How struts control data flow?
Why do the struts tags provide for so little formatting?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
What are the various struts tag libraries?
What is the purpose of @after?
How to display validation errors on jsp page?
What do you mean by action errors and what are the results they force?