基于jsp+serverlet开发的网上花店网站毕业设计论文 联系客服

发布时间 : 星期二 文章基于jsp+serverlet开发的网上花店网站毕业设计论文更新完毕开始阅读2e2e1b46793e0912a21614791711cc7931b77878

河南理工大学毕业设计(论文)说明书

摘 要

随着因特网在全球的迅猛发展和广泛应用,电子商务(EC)受到人们越来越多的关注,并渗透到人们生活的各个角落,改变着社会经济的各个方面。网上鲜花订购是电子商务的一项内容,使得人们的购物变得更轻松、快捷、方便,适合人们快节奏的生活方式,它的应用越来越广泛。网上花店摆脱了传统鲜花的销售理念,避免了挑选商品的繁琐过程,使购物的过程变得轻松快捷,很适合现代人快节奏的生活。网上花店系统主要实现网上销售鲜花,从商品发布,到商品销售,从用户的浏览、注册,到用户的购买,全部实现无纸化办公。

本文主要采用的技术手段是基于B/S架构的三层系统开发模型,所用到的编程方法为Jsp+javaBean+servlet技术,开发了一种基于JSP的网上花店系统。本网上花店采用JSP技术制作动态网页,使用JAVA语言利用数据库连接池对数据进行操作,借助JavaScript实现一些网页特效,后台使用Tomcat充当WEB服务器,系统采用的开发工具是Myeclipse软件,后台采用的是MySQL数据库以及Sqlyog图形界面工具,很好的满足小型网站开发环境。此方案与现今网上已采用的一些方案相比,具有用户使用更简单、界面更直观等优点。其设计包括管理员管理,订单管理,花店管理三个大的模块,实现用户注册,用户登录,管理员登录,花店信息浏览,订单提交,订单浏览等JSP页面。分析并解决实现中的若干技术问题,包括与数据库的连接,建立完整的网上花店系统,进行测试并分析结果。为鲜花销售带来极大的便利。 关键字:网上花店,JSP, SERVLET.

I

河南理工大学毕业设计(论文)说明书

Abstract

With the rapid development of the Internet in the world and wide application of electronic commerce (EC) has been more and more attention, and penetrated into every corner of our life, changing all aspects of the social economy.Order flowers online is a content of electronic commerce, make people shopping easier, quick, convenient, suitable for people's fast-paced way of life, its application is more and more widely.Online florist to get rid of the traditional flower sales idea, avoids the messy process of selected goods, make the shopping process easy and quick, is suitable for the fast pace of modern life.Online florist system mainly realize the online sales of flowers, from the goods, to sell goods, from the user's browsing, registration, to the user's purchase, all realize the paperless office.

This article mainly uses the technology is based on B/S structure of three layers of system development model, used the programming method for Jsp + javaBean + servlet technology, developed a flower shop online system based on Jsp.The online florist adopts JSP technology making dynamic WEB pages, using the JAVA language using the database connection pool to manipulate, the data using JavaScript to achieve some WEB page special effects, the background using Tomcat as a WEB server, the system is the use of development tools Myeclipse software, the background is the MySQL database and Sqlyog graphical interface tools, good to meet small WEB development environment.This plan with today online has used some scheme, compared with the user to use a simpler, more intuitive interface, etc.Its design including the administrator management, order management, flower shop management three big modules, realizes the user registration, user login, the administrator login, florist information browsing, orders submitted, order to browse the JSP page, etc.Analyze and solve some technical problems in implementation, including the connection to the database, and establish a comprehensive system to online florist, test and analysis results.For the flowers sales bring great convenience.

Keywords:Online flower shop,JSP,SERVLET.

II

河南理工大学毕业设计(论文)说明书

目 录

1 前 言 ................................................................. 1 2 系统开发环境和关键技术 ................................................ 2

2.1 开发环境 ......................................................... 2 2.2 系统采用技术 ..................................................... 2

2.2.1 MVC模式 .................................................... 2 2.2.2 JSP技术 .................................................... 2 2.2.3 Servlet技术 ................................................ 3 2.3 数据库技术 ....................................................... 3 3 网站系统分析 .......................................................... 5

3.1 网上花店需求分析 ................................................. 5

3.1.1客户端 ...................................................... 5 3.1.2管理端 ...................................................... 5 3.2 系统模块分析 ..................................................... 5 3.3 业务流程分析 ..................................................... 6 3.4 系统的逻辑模型 ................................................... 6

3.4.1 数据流图 .................................................... 6 3.4.2 数据字典 .................................................... 8

4 系统总体设计 ......................................................... 10

4.1 设计思想 ........................................................ 10 4.2 系统功能结构 .................................................... 10 4.2.1用户功能 ....................................................... 11 4.2.2 管理员功能 .................................................... 14 4.3 数据库设计 ...................................................... 16

4.3.1 数据库分析 ................................................. 16 4.3.2 项目的E-R图 ............................................... 16 4.3.3 数据库表的设计 ............................................. 17

5 网站的实现 ........................................................... 20

5.1系统目录结构 ..................................................... 20 5.2 前台功能实现 .................................................... 21

5.2.1商品查询 ................................................... 21 5.2.2 登录与注册 ................................................. 22 5.2.3 购物车使用 ................................................. 26 5.2.4 订单查询 ................................................... 30 5.3 管理员管理后台数据界面 .......................................... 32

5.3.1管理员的登陆 ............................................... 32 5.3.2商品添加 ................................................... 32 5.3.3商品信息修改 ............................................... 33 5.3.4订单审查 ................................................... 34

6 花店功能测试 ......................................................... 38

6.1 数据源的配置 .................................................... 38 6.2 系统调试界面预览 ................................................ 38 总 结 .................................................................. 44 致 谢 .................................................................. 45

III

河南理工大学毕业设计(论文)说明书

参考文献 ................................................................ 46

IV