MVC Schema Purpose (Implementation of the functional division of the web System). In Java EE, Jsp+servlet+javabean is a classic model, which is a prerequisite for beginners to know the skills. M, Model (model) Implement the business logic of the system
1. Implementing business logic for operational databases through DAO
2. Other system business logic JavaBean functions
V,View is responsible for interacting with the user, i.e. displaying the data object on the interface to the user
JSP functions
C, Controler Control The bridge between model and view 1. Assign a user's request and select the appropriate view to display
2. Interpreting user input and mapping them to actions that the model can perform
servlet functions
JSP accepts the user's request parameters like
JavaBean: Can be repeated call, need to accept the user's request parameters, the corresponding processing
Jsp+servlet+javabean Classic MVC pattern Understanding