MVC Development Mode: The Model Layer View Layer control layer in the student management system, the model layer has a student entity class, data access to the DAO layer, The view layer is mainly used to display information interface, control layer is mainly servlet processing user requests
In the student management system, my sub-package is as follows
Cn.entity a student's entity class, which has students ' various attributes
Cn.dao packet is the data access layer, which wrote a Studedao interface inside the interface there are abstract methods are additions and deletions of the search
The implementation class of Studendao in Cn.dao.impl package
Cn.service The business logic layer invokes multiple DAO within the service to implement multiple functions
Util package for connecting to a database tool class
The servlet package is used to receive and respond to requests from JSPs
The development of JSP learning based on MVC student Management system