【文章內(nèi)容簡介】
capsulates the underlying business logic, including database access. Part View This section is implemented by JSP. Struts provides a rich library of tags, tag library can be reduced through the use of the script, a custom tag library can be achieved with Model effective interaction, and increased practical function. The Controller ponent The Controller ponent is posed of two parts the core of the system controller, the business logic controller. System core controller, the corresponding controller is provided with the Struts framework, HttpServlet class inheritance, so it can be configured to mark controller is responsible for all HTTP requests, and then according to the user request to decide whether or not to transfer to business logic controller. Business logic controller, responsible for processing a user request, itself does not have the processing power, it calls the Model to plete the corresponding Action part. Hibernate Hibernate is an open source object relation mapping framework, it had a very lightweight JDBC object package, makes Java programmers can use arbitrary objects to manipulate database programming