Model-View-Controller is mini architecture and design pattern used for dividing application components into three different categories Model, View and the Controller. Components of the MVC architecture have unique responsibility and each component is independent of the other component. Changes in one component will have no or less impact on other component. Responsibilities of the components are:

Model: Model is responsible for providing the data from the database and saving the data into the data store. All the business logic implemented in the Model. Data entered by the user through View are checked in the model before saving into the database. Data access, Data validation and the data saving logic are part of Model.
View: View represents the user view of the application and is responsible for taking the input from the user, dispatching the request to the controller and then receiving response from the controller and displaying the result to the user. HTML, JSPs, Custom Tag Libraries and Resources files are the part of view component.
Controller: Controller is intermediary between Model and View. Controller is responsible for receiving the request from client. Once request is received from client it executes the appropriate business logic from the Model and then produces the output to the user using the View component. ActionServlet, Action, ActionForm and struts-config.xml are the part of Controller.
3 comments
Tom says:
January 17, 2009 at 8:14 am (UTC 5)
hey Come with something different. This is very common
Tom says:
January 17, 2009 at 8:14 am (UTC 5)
you just cant define MVC in eew lines
yo!
admin (http://www NULL.faisalgeek NULL.com) says:
January 17, 2009 at 10:19 am (UTC 5)
You just can describe about your confusion ? what is ambiguous for you in model view controller.