
毕业设计(论文)
设计(论文)题目:
指 导 老 师:
专 业 班 级:
姓 名:

i
自由商品交易系统
摘 要
随着科技的迅速发展,计算机技术已应用到社会的各个领域。随着计算机技术和通
信技术的迅速发展,网络的规模也逐渐增大,网络的元素也随之不断增加,有的利用其
通信,有的利用其商业用途,在网络上进行出售、收购、宣传等操作,从而使得网络越
来越成为现今社会上必不可少的元素,而网站就是这个网络里很庞大的元素。
通过商品交易系统这个平台,可以使用户足不出户就可以了解丰富的商品信息,极
大的方便了用户,系统的主要功能包括:商品类别管理、商品信息管理、订单管理、会
员管理、系统公告管理等。分为管理员用户、会员用户这二种用户平台。
本系统前台主要使用 JSP 作为开发语言,后台使用 MySql 作为数据库管理系统,开
发环境是 MyEclipse,服务器采用 tomcat,开发出的一个基于 Web 技术的 B/S 结构的商
品交易系统。
关键词:电子商务;JSP;B/S 结构

ii
Abstract
With the rapid development of science and technology, the computer technology has
been applied to each field of the society. Along with the computer technology and the rapid
development of communication technology, the scale of network is gradually increasing,
network element also increases ceaselessly subsequently, some use their communication,
using some of its commercial purposes, in the network for sale, purchase, publicity and other
operations, so that the network has more and more become nowadays essential elements,
while the website is very large in the network elements。
Through the B2C electronic commerce system this platform, user can remain within
doors can understand the wealth of information goods, a great convenience to users, the main
functions of the system include: the commodity category management, merchandise
management, order management, member management, bulletin management system. As
administrator, members of the user to the two user platform。
The front of the system using JSP as a development language, the use of MySql as a
database management system, the development environment is MyEclipse, server using
tomcat, developed a Web technology based on B / S structure convenient information inquiry
system。
Keywords: Electronic commerce;JSP;B / S structure

目录
摘 要....................................................................i
Abstract.................................................................ii
1 绪论...................................................................1
1.1 课题背景...........................................................1
1.2 目的和意义.........................................................1
1.3 开发工具及技术.....................................................1
1.3.1 开发工具 .....................................................1
1.3.2 JSP..........................................................2
1.3.3 JavaScript...................................................3
1.4 软硬件需求.........................................................3
2 需求分析...............................................................5
2.1 可行性分析.........................................................5
2.1.1 技术的可行性 .................................................5
2.1.2 经济的可行性 .................................................5
2.1.3 操作可行性 ...................................................5
2.1.4 法律的可行性 .................................................5
2.2 系统用户用例图.....................................................5
2.2.1 普通用户用例图 ...............................................5
2.2.2 管理员用例图 .................................................6
2.3 功能模块需求分析...................................................6
2.4 设计的基本思想.....................................................8
2.5 性能需求...........................................................8
2.5.1 系统的安全性 .................................................8
2.5.2 数据的完整性 .................................................9
2.6 界面需求...........................................................9
3 系统分析与设计........................................................10
3.1 数据库的分析与设计................................................10
3.1.1 数据库的概念结构设计 ........................................10
3.1.2 数据库的逻辑结构设计 ........................................12
3.1.3 数据库的连接原理 ............................................14
3.2 中文乱码问题处理..................................................15
4 系统功能实现..........................................................18
4.1 管理员登陆页面....................................................18
4.2 管理员模块........................................................19
4.2.1 商品类别管理 ................................................19
4.2.2 商品信息管理 ................................................22
4.2.3 会员信息管理 ................................................24
4.2.4 修改密码 ....................................................25
4.2.5 退出系统 ....................................................26
4.3 普通用户模块......................................................26

4.3.1 系统主页面实现 ..............................................26
4.3.2 商品类别查询 ................................................27
4.3.3 用户注册 ....................................................27
5 系统测试..............................................................28
5.1 系统测试目的与意义................................................28
5.2 测试过程..........................................................28
5.3 其他错误..........................................................29
结 论...................................................................30
参考文献.................................................................31
致 谢...................................................................32
外文原文.................................................................33
中文翻译.................................................................41