毕业设计(论 文)
基于Struts的电子商务网站
系 别 XXXXXX 专 业 XXXXXX 班 级 XXXXX 姓 名 XXX 指导教师 XXX
2010年06月10日
基于Struts的电子商务网站
摘 要
电子商务是各种具有商业活动能力的实体利用网络和先进的数字化传媒技术进行的各项商业贸易活动。电子商务活动的开展,实现了企业宣传、销售产品的网络化,既节省了企业宣传和销售的成本,提高了企业的竞争力,也为用户购物提供了方便和节省了时间。现在最为流行的电子商务形式便是网上购物。
本文通过对电子商务网站的可行性进行了分析,然后对网站的设计思想、设计目的与整体结构进行了详细规划,最后采用MVC设计模式和Struts框架完成了网站的构建过程。本网站主要实现了面向用户的客户端和面向管理员的后端管理两大部分的六大模块:用户管理模块、前台商品信息查询模块、前台购物车模块、后台商品管理模块、后台订单管理模块和网站其他信息管理模块,实现了网上购物的主要功能。系统界面友好,操作方便。
关键词:电子商务网站,JSP,Struts,Mysql
The Design and Implementation of E-commerce Website Based on Struts
Author: He Wencheng
Tutor: Yuan Jingbo
Abstract
E-Commerce is a kind of activity in which every entity that is capable of commercial activities can conducts all kinds of business trades through the Internet and advanced digital media. The development of E-Commerce realizes the networking of enterprises propagation and products selling. It not only saves the cost, but also improves the competitiveness for enterprises. Shopping online is the most popular way of E-commerce.
Working out an extensive plan for the E-Commerce websites' designing ideas, designing purposes and the general structure,it accomplishes the construction of E-business website in MVC design pattern and Struts framework. This website realizes the mainly function of sales websites. It includes two parts: the Client that faces to users and the Backend that faces to administrators, and six modules: the user management module, the information query module, the shopping cart module, the backstage commodities management module, the backstage order management module and the module of other information of the website.It makes the function of shopping on the internet,friendly interface and the convenient operation come true.
Key Words:Electronic Commerce Website,JSP,Struts,Mysql
目 录
1 绪论 1
1.1 电子商务概述 1
1.1.1 电子商务的产生 1
1.1.2 电子商务的发展史 1
1.2 电子商务的优势 2
1.3 本文研究内容 3
1.4 本文组织 3
2 系统分析 5
2.1 系统需求分析 5
2.1.1 性能需求 5
2.1.2 功能需求 5
2.2 系统可行性分析 6
2.2.1 经济可行性 6
2.2.2 技术可行性 7
2.3 系统流程图 11
3 系统设计 13
3.1 系统目标 13
3.2 系统功能结构设计 13
3.3 数据库设计 14
3.3.1 数据库需求分析 14
3.3.2 数据库概念设计 15
3.3.3 数据库逻辑结构设计 16
4 系统实现 21
4.1 系统界面实现 21
4.1.1 前台首页 21
4.1.2 用户登录 22
4.1.3 前台商品信息查询 22
4.1.4 前台购物车 24
4.1.5 后台管理员登录 25
4.1.6 后台管理首页 26
4.1.7 后台商品管理 27
4.1.8 后台订单设置 28
4.1.9 会员设置 29
4.1.10 公告设置 29
4.2 系统功能编码实现 30
4.2.1 工具层的实现 30
4.2.2 ActionForm类的实现 31
4.2.3 持久层的实现 32
4.2.4 控制层的实现 32
4.3 系统测试 33
4.3.1 测试内容 33
4.3.2 测试的结果 33
结 论 34
致 谢 35
参考文献 36
附 录 37
1 绪论
1.1 电子商务概述
1.1.1 电子商务的产生
在人类发明了电报和电话