基于Java的动漫网站的设计与实现
摘 要
随着科技的迅速发展,计算机技术已应用到社会的各个领域。随着计算机技术和通信技术的迅速发展,网络的规模也逐渐增大,网络的元素也随之不断增加,有的利用其通信,有的利用其商业用途,在网络上进行出售、收购、宣传等操作,从而使得网络越来越成为现今社会上必不可少的元素,而网站就是这个网络里很庞大的元素。
本系统前台主要使用JSP作为开发语言,后台使用SqlServer作为数据库管理系统,开发环境是MyEclipse,服务器采用Tomcat,开发出的一个基于Web技术的B/S结构的动漫网。
通过JSP动漫网这个平台,可以使用户足不出户就可以了解丰富的动漫信息,避免他们盲目在互联网上寻求相关的动漫信息,使得他们更尽兴地提高观看动漫的满足感,系统的主要功能包括:动漫类别管理、动漫信息管理、动漫上传下载、会员信息管理、动漫资讯管理、动漫图片管理等。分为管理员用户、会员用户这二种用户平台。
关键词: 动漫网;JSP;B/S结构
i
The Design and Realization of Animation
Website based on Java
Abstract
With the rapid development of science and technology, the computer technology has been applied to each field of the society. With the development of computer technology and the rapid development of communication technology, the scale of the 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 as to make the network more and more become modern society essential elements, and the website is this network big element。
The front of the system using JSP as a development language, the use of SqlServer as database management system, the development environment is MyEclipse, server using Tomcat, developed a Web technology based on B/S structure of the anime network。
Through the JSP cartoon network this platform, users can remain within doors can understand the richness of the animation information, avoid them blindly seeking on the Internet related to the animation information, makes them more time to improve the satisfaction of watching animation, the main functions of the system include : the animation category management, information management, uploading and downloading anime animation, member information management, bulletin management system. As administrator, members of the user to the two user platform。 Keywords: Cartoon Network; JSP; B / S structure
ii
目 录
摘 要 ................................................................... i Abstract ................................................................ ii 1 绪论 .................................................................. 1
1.1 课题背景 ......................................................... 1 1.2 目的和意义 ....................................................... 1 1.3 开发工具及技术 ................................................... 1
1.3.1 开发工具 ................................................... 1 1.3.2 JSP ........................................................ 3 1.3.3 JavaScript ................................................. 3 1.4 软硬件需求 ....................................................... 4 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 设计的基本思想 ................................................... 7 2.5 性能需求 ......................................................... 8
2.5.1 系统的安全性 ............................................... 8 2.5.2 数据的完整性 ............................................... 8 2.6 界面需求 ......................................................... 8
2.6.1 输出设计 ................................................... 8 2.6.2 输入设计 ................................................... 8
3 系统分析与设计 ....................................................... 10
3.1 数据库的分析与设计 .............................................. 10
3.1.1 数据库的概念结构设计 ...................................... 10 3.1.2 数据库的逻辑结构设计 ...................................... 12 3.1.3 数据库的连接原理 .......................................... 13 3.2 中文乱码问题处理 ................................................ 13 4 系统功能实现 ......................................................... 16
4.1 管理员登陆页面 .................................................. 16 4.2 管理员模块 ...................................................... 19
4.2.1 分类信息管理 .............................................. 19 4.2.2 会员信息管理 .............................................. 22 4.2.3 动漫信息管理 .............................................. 24
1