JSP Model View Controller
The model-view-controller (MVC) is a software architecture design pattern. It aims to separate application logic from input and presentation. The MVC design pattern can be used when writing JSPs.
The model is the Java classes. This is where the application data lives and where application operations take place. Through the Java classes, the view receives input for presentation.
The view is the JSP pages. The JSP pages are used to create the interface through which the data in the model is presented.
The controller is the Java servlets. The servlets manipulate the model. They pass input data back to the model – the Java classes.
The MVC relationship is summarized in the diagram below:
Source: http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller