文档介绍:毕业设计( 论文) 题目: 基于 Struts + Spring + Hibernate 的购物网站设计与实现学生姓名学号 200520100303 分院信息工程分院专业班级计算机 503 班指导教师 2009 年5月杭州中文摘要Ⅰ摘要本设计运用当前主流的 Java 技术,采用 MVC 开发模型,以 Struts 、 Spring 和 Hibernate 框架为基础开发了一个轻量级的网上购物系统。 Struts 用作控制器, Sprin g 作为业务层, Hibernate 作为数据持久层, 开发中同时使用 JSTL 标签库。这些技术的整合,使得系统在各方面都能达到要求,并有利于系统的维护和升级。系统分为前台部分和后台部分,前台部分主要实现的功能有顾客的注册和登录功能、查看商品信息功能、搜索商品的功能、购物车、收藏夹功能、个人信息维护管理功能;后台部分主要实现管理员管理商品信息、订单信息、目录信息和用户信息。其中购物车可以在用户未登录的情况下操作,并且原有的商品与现有的商品可以相互叠加。关键词:网上购物系统; Struts ; Spring ; Hibernate ; JSTL ; MVC 模式英文摘要Ⅱ ABSTRACT This design uses the mainstream Java technology to develop a lightweight online shopping application. MVC software developing model is adopted, based on the popular framework consisting of Struts, Spring and Hibernate, where Struts behaves as the controller layer, Spring as the service layer, and Hibernate as the data persistence layer. JSTL library is also used. With all these technologies together, the application achieves all the design purposes, and is flexible for update and maintenance. The application consists of two main subsystems, the front end subsystem and the central management subsystem. For the front end subsystem, the features involve customer registration, login, information retrieval on merchandises, product search, shopping cart, preference folder, customer profile update. Product information update, orders process, category and user information management are the functions of the central management subsystem. In the mean time, the shopping cart can be used without login, the selected item can be added automatically. Key Words : Online shopping system ; Struts ; Hibernate ; JSTL ; The Model of MVC 目录 III 目录 1引言....................................................................................................... 1 2 相关知识和技术背景............................................................................... 2 J2EE 概述............................................................................................................. 2 MVC 设计模