摘要:随着人们生活水平的越来越高和互联网的全球化,越来越多的网站商城也出现在人们的生活中。书是人们日常生活的一部分,正所谓书是人类进步的阶梯,不过现在越来越多的网络书城正在逐步取代传统实体书店的经营模式,人们通过网上书城不仅不用出门就可以买到书,而且还能更加容易找到自已想要的书,又快捷,又方便。33241
本文要阐述的是如何运用Java语言来做一个书店网站。这个网上书城包括登录,注册,加入购物车等一些普通网上商城的功能。本人在本机上配置了tomcat服务器,所以本次网站只限于在本机的局域网内上访问。网站涉及到了界面,功能,Java环境的配置等问题,需要用到Java的jsp,Jdk,ajax等相关知识,本人感到还需要学习更多的东西来解决这些问题。
毕业论文关键词:Java;服务器;客户端;网上书城
Based on java language website design and development
Abstract:As people's living standards increasing globalization and the Internet, more and more sites mall also appear in people's lives. The book is part of everyday life, is the so-called book is the ladder of human progress, but now more and more networks are gradually replacing the traditional physical bookstores bookstore business model, people not only do not go through an online bookstore can buy books, and You can more easily find the book you want to own, and quick, and convenient.
This article describes how to use java language to do a bookstore website. The online bookstores including login, registration, add to cart and some ordinary online store features. I am on this machine is configured tomcat server, so this site is limited to within the machine on the LAN access. Web site related to the interface, functions, configuration java environment and other issues, the need to use java in jsp, jdk, ajax and other related knowledge, I feel still need to learn more things to solve these problems.
Keywords: Java; Server; Client;Online Bookstore
目录
1 绪论 1
1.1.项目背景 1
1.2.研究现状和发展趋势 1
1.3.研究目的及意义 1
2 项目需求分析 2
2.1. java运行环境配置 2
2.2. 服务器的设置 3
2.3. 数据库的安装 3
2.4. myEclpes 3
2.5. 所用模板界面 3
3 项目所用技术 4
3.1. Struts2 4
3.2. Jsp页面 4
3.3. Hibernate 4
3.4. Ajax 5
3.5. Jquery 5
3.6.所用到的重要概念 5
3.6.1所用到重要概念 5
3.6.2 四种会话跟踪技术 5
4 项目设计思路 6
4.1. 数据库 6
4.1.1 数据库的建立 6
4.1.2 数据库建表 6
4.1.3 表的外键关系 7
4.2. 服务器端包的设计 7
4.2.1 核心包(包名:com.bookStore.core) 7
4.2.2 服务包(包名:com.bookStore.service) 8
4.2.3 工具包(包名:com.bookStore.tools) 8
4.2.4 web包(包名:com.bookStore.web) 9
4.3. 配置文件生成 9
4.4. 页面选用设计 10
4.4.1 最上层页面(haed.jsp) 10
4.4.2 最下层页面(foot.jsp) 10
4.4.3 登录界面(login.jsp) 11
4.4.4 注册界面(register.jsp) 11
4.4.5 首页(index.jsp) 12
4.4.6 图书分类界面(products.jsp) 12 java网上书店系统设计+文献综述:http://www.751com.cn/jisuanji/lunwen_30212.html