目 录
摘要 III
Abstract IV
绪论 1
1 网站开发背景 2
1.1 古诗词网站概述 2
1.2 古诗词网站的现状 2
1.3 网站的开发意义 2
2 古诗词网站分析 3
2.1 网站开发的设计思想 3
2.2 网站开发的可行性分析 3
2.2.1 技术可行性 3
2.2.2 经济可行性 4
2.2.3 操作可行性 4
2.2.4 管理可行性 5
2.2.5 法律可行性 5
2.3 网站设计的总体规则 5
3 网站需求分析 6
3.1 网站实现的目标 6
3.2 数据流图 7
4 环境配置 7
4.1 4.1 JDK的环境配置 7
4.2 4.2 MySql的环境配置 8
4.3 4.3 JDBC的环境变量 9
4.4 4.4 Java Servlet的环境变量 9
5 网站概要设计 10
5.1 网站功能模块设计 10
5.1.1 数据库概念模型设计 10
5.1.2 网站数据库简介 10
5.1.3 网站数据库需求分析 11
5.2 网站架构设计 11
6 网站详细设计 13
6.1 前台各功能模块设计 13
6.1.1 排名模块设计 13
6.1.2 诗词赏析模块设计 13
6.1.3 诗词评论模块设计 13
6.1.4 搜索模块的设计 13
6.1.5 下载模块设计 14
6.1.6 诗词管理模块设计 14
6.2 数据库表的设计 16
6.3 网站界面风格设计 18
6.3.1 index.JSP首页 18
6.3.2 index.JSP左右导航条 18
6.3.3 网站框架 22
7 网站具体实现 23
7.1 前台用户模块的实现 23
7.1.1 管理员登录模块的实现 23
7.1.2 排名模块的实现 26
7.1.3 诗词赏析模块的实现 27
7.2 数据库连接页面conn.JSP 28
8 开发技术及开发环境 29
8.1 JSP技术 29
8.2 数据库MYSQL 29
8.3 Web服务器IIS 30
8.4 网站运行环境的搭建 30
8.4.1 IIS环境搭建 30
8.4.2 文件的拷贝 31
8.4.3 数据库的连接 31
9 系统测试 32
10 总结 33
参考文献 34
致 谢 35
摘要
本文论述了古诗词网站的设计与实现过程,提出了一种基于Web的古诗词网站。进入该网站的用户无需注册,用户可以浏览诗词、欣赏诗词,可以对每首诗词留下自己的见解。进入搜索网页利用诗人名字或诗词名字搜索本网站内的诗词内容,也可以进入下载网页,下载站长为你精心制作的诗词和赏析。本网站的设计采用B/S模式,适用于Internet发布,并利用现在广泛流行的IIS+JSP+MYSQL的架构实现。此网站分为前台界面和后台管理两部分,前台是友好的浏览界面,用户可以自己查找喜欢的诗词,并且对诗词进行评论;后台管理是提供给管理员的,其中包括:古诗词的管理和诗人的管理。本网站适应现代社会的时间观念,花费低廉的传输成本在网络上收集信息。这样不仅节约了古诗词传播的成本,同时加快了信息的更新,更为广大喜爱古诗词的用户提供了一个交流的平台。该网站组建后经过反复的调试和修改,界面友好、操作简洁、使用方便、运行稳定。
【关键词】古诗词 鉴赏 jsp mysql b/s模式
Abstract
This article discusses the design and implementation of the website of ancient poetry appreciation, and puts forward a kind of ancient poetry appreciation which is based on web. Users who enter the website system without login in. scan poem, appreciate poems, discusses about poems and save discussion on website. User can enter the web of searching to search poems by poem’s name and poet. Users can enter the web of downloading to download the poems and appreciation that carefully selected by master. The website's overall design adopts B/S model and the website is suitable for internet releasing, and uses IIS+JSP+MYSQL framework. This website is divided into two parts including the front desk interface and the background management, the front desk is a friendly user interface, user can search poems which they like, leave the discussion about poem. The background management is designed for the administrator, which includes poem management, poet management. This website adapts to the concept of the time in the modern society, spends low transmission cost in the network to collect information. So it not only saves the cost of the data transmission, but also accelerates the speed of the information updates. After debugging and modifying the website again and again, it has a simultaneous and stable operation, a friendly interface, and it’s also very concise and easy to use.
【Key words】 Ancient poetry Appreciate jsp mysql b/s mode









