目 录
摘要: 3
关键字: 4
Abstract: 4
Key word: 5
1 前言 1
1.1 问题的提出 1
1.2 课题的背景及意义 1
1.2.1 课题背景 1
1.2.2 课题意义 2
2 JSP及其相关技术 2
2.1 JSP技术 2
2.1.1 JSP的运作模式 3
2.1.2 JSP的特点 5
2.2 Servlet技术 8
2.2.1 Servlet 技术概述 8
2.2.2 Servlet 与 JSP 之间的关系 9
2.2.3 Servlet 应用范围及缺陷 9
2.2.4 Servlet 的生命周期 10
2.3 JDBC技术 11
2.3.1 JDBC概述 11
2.3.2 JDBC两层模型和三层模型 12
2.3.3 使用JDBC的优缺点 12
2.4 JSP开发方式 13
3 需求分析 14
3.1 需求分析概述 14
3.2 个人博客系统概述 15
3.3 系统目标 15
3.4 系统功能要求 16
4 系统概要设计 17
4.1 功能模块设计及模块功能描述 17
4.1.1 功能模块设计 17
4.1.2 模块功能描述 17
4.2 数据库设计 18
4.2.1 概念结构简介 18
4.2.2 概念模型设计 18
4.2.3 数据库表设计 19
4.2.4 系统模块设计 21
4.3 关系模型 22
4.4 数据字典 23
5 系统详细设计 26
5.1 系统的开发环境 26
5.1.1 JSP支持平台Tomcat6.0 26
5.1.2 JDK概述及配置 27
5.1.3 开发工具Dreamweaver 8 28
5.2 系统中JSP技术的应用 29
5.2.1 用JavaBean 封装数据库操作 29
5.2.2 字符编码过滤器EncodingFilter 30
5.3 系统主要功能模块设计 30
5.3.1 相册模块 30
5.3.2 日志模块 32
5.3.3 视频模块 34
5.3.4 留言板模块 35
6 研究成果与前景展望 35
6.1 研究成果概述 35
6.2 软件测试 36
6.2.1 软件测试的目标及方法 36
6.2.2 难点和问题 37
6.3总结与展望 37
6.3.1 毕业设计总结 37
6.3.2 展望 38
致谢 39
参考资料 39
附录 系统使用说明 40
基于B/S架构的Java个人博客开发
计算机科学与技术专业学生 杜康
指导教师 吕方兴
摘要:本论文的研究课题是《基于B/S架构的Jsp个人博客开发》。本系统主要为用户提供博客系统。通过系统的需求分析、概要设计和详细设计, 使该系统具备了数据库信息检索及维护的功能,并且实现了博客系统的相关操作功能。
在本系统中主要使用了JSP(Java Server Pages)+JavaBean+Servlet动态网页设计技术,并以Windows XP为运行环境,采用浏览器/服务器结构(B/S),后台数据库是MySQL, Tomcat服务器作为JSP的支持平台。采用开发工具采用的是Dreamweaver 8、JDK1.6和编程工具Myeclipse。
本系统主要由四个功能模块组成:
1. 主模块功能: 设置用户界面、接受用户选择、调用相应的程序块。
2. 相册模块功能: 接受博主提交信息,根据信息做出相应添加、删除、修改操作,并对相应操作对数据库进行操作,修改数据库内容,以供前台调用
3. 日志模块功能: 根据博主提交信息,对数据库进行添加修改删除,及时更新数据库。以供前台调用。
4. 视频模块功能: 实现上传或删除视频,并对数据库进行及时操作,以供前台操作。
5.关于博主模块功能:实现博主个人信息的添加、删除、修改的功能,并及时对数据库进行操作,以供前台调用。
6.留言本模块功能:为浏览者提供留言途径,后台删除、查看留言,并对数据库进行即使操作,以供前台调用。
本系统重点完成了对相册模块和日志模块的实现,详细设计了博客后五个模块的功能,达到了帮助用户对个人博客系统使用的目的。
关键字: JavaBean、JDBC、ODBC
Based on B/S structure is Java personal blog development
Student majoring in Computer science and technology Dukang
Tutor LvFangXing
Abstract:
This thesis research topic is "based on B/S structure Jsp personal blog development". This system mainly provide users with blog system. Through the demand analysis of the system, high level design and detailed design, so that the system has the database information retrieval and maintenance function, and fulfilled the blog system related operation function.
In this system in the design and implementation of main USES the JSP (Java web Server JavaBean + + Servlet dynamic web design technology, and with Windows XP as operation environment, use browser/Server structure (B/S), backend database is MySQL Server as JSP, Tomcat support platform. Using development tool use is Dreamweaver 8, JDK1.6 and programming tools Myeclipse.
This system mainly consists of four function modules:
1. The main module function: set the user interface, accept the user to select, call the corresponding program blocks.
2 albums module function: accept blogger submit information, according to the information makes the corresponding add, delete, modify operation, and to the corresponding operation on the database operation, the modified database content, in order to offer the front desk calls
3. Log module function: according to the blogger submit information that the database add modification and deletion, update the database. For front desk calls.
4. Video module function: to achieve upload or delete video, and the database, in order to offer timely operation desk operation.
5. Shut get autorization module function: to achieve blogger personal information to add, delete, modify the function, and promptly to the database operation, for front desk calls.
6. Guestbook module function: provide your visitor with message way, background, and delete, viewer messages to the database, for even operation desk calls.
This system mainly completed the album module and log of the module, the detailed design blog closed after five modules of the system, achieves the help users to personal blog systems use purpose.
Key word:
JavaBean, JDBC, ODBC
1 前言
1.1 问题的提出
随着互联网的不断发展,人们的生活发生了巨大的变化,人们获取信息资料的方式也发生了巨大的改变,越来越多的人喜欢到网上去收集信息,特别是近几年,随着数字化产品的不断普及,人们越来越喜欢上Blog(博客),当下个人博客得到了长足的发展,类似于新浪,网易,都有自己的博客系统。个人博客现在已渐渐成为人们交流,获取网络信息的主要途径。为此,我提出了个人博客系统开发的课题。
1.2 课题的背景及意义
1.2.1 课题背景
博客,又译为网络日志、部落格或部落阁等,是一种通常由个人管理、不定期张贴新的文章的网站。博客上的文章通常根据张贴时间,以倒序方式由新到旧排列。许多博客专注在特定的课题上提供评论或新闻,其他则被作为比较个人的日记。
个人博客是博客的一种。自建独立网站的博客主,有自己的域名、空间和页面风格。是个人持续性的日记或评论。它是最传统常见的博客。个人博客作者一般注重博客的内容,即使他们的博客从来没有被除了自己以外的人阅读过。博客经常不只是一个沟通的方法,它们成为了一种反映生活的方法或艺术创作。编写博客可以抒发感情,引起人们的共鸣。很少个人博客出名和成为主流,但一些个人博客很快
上一篇:
Java_Web应用开发--在线模拟考试系统--论文
下一篇:
临床前药物安全性评价中毒性病理学新技术的应用