摘 要
基于网络的教育资源共享,给广大师生提供了方便,满足了个性化学习的需求。本文利用 Struts 框架设计开发一个基于Web的网上教学资源共享管理系统。本系统使用My SQL Server管理系统的数据信息,采用Struts框架使系统更简化地遵循MVC设计模式,实现表示层、业务层和控制层相分离,提高了系统开发的效率,也为以后系统的维护和扩展带来方便。系统测试结果表明:系统通过身份验证,正确识别用户权限,进入不同显示页面。管理员可管理所有用户信息和用户上传的资源。普通用户可管理本人信息和本人上传的资源,并可搜索下载系统中的资源。游客可以浏览页面,搜索下载公有的资源。系统不仅提供丰富的学习资源,还有可以管理好各种资源和用户的关系。系统运用于校园网,满足多用户同时访问,更好的实现教育资源共享,具有一定是研究价值和应用前景。
关键字
Servlet;JSP; MVC; Struts;共享
Abstract
The sharing of teaching resources in Internet filled our need for personality. There is something about how to develop a realization of sharing management system for online teaching resources based on wed. The data of system is managed by My SQL Server. Because of using Struts architecture, it will be easy to display the view, he model, and the controller. Then, it will be not only increase in the sleep of developing but also can we manager and expend the system. The results show that, there are three kinds of members in the system, and the system will show different view for different kind of members. Managers can delete and modify the information of other members and all of the resources. The common users can modify the information of themselves and the resources which they has been uploaded yet. Besides, they can search for the resources which they want to, and then download the resources. Other members can look at the view of the system, and download some resources which are public. Our system not only can provide the rich of studying resources, but also can manage the relationship of each member. Many students might visit the system together if their pc can connect to the Internet .So it has a certain appliance value in the area of school teaching.
Keyword
Servlet;JSP; MVC; Struts;Sharing
目 录
引 言 1
1 概述 2
1.1 Servlet概述 2
1.2 JSP概述 2
1.3 MVC概述 2
1.4 Struts概述 3
1.5 系统开发的环境和工具 4
1.6 系统开发完成情况 5
2 需求分析 5
2.1 需求 5
2.2 分析 6
3 网上教学资源共享系统的设计 9
3.1 总体设计 9
3.2 功能设计 11
3.3 数据流图 11
3.4 数据库设计与实现 12
3.5 数据字典 15
4 系统实现 16
4.1 实现效果 16
4.2 用户表示层 18
4.3 数据持续层 24
4.4 业务逻辑层 27
4.5 控制处理层 28
5 测试检验 31
5.1 注册模块测试 31
5.2 管理员管理用户模块测试 31
5.3 用户上传资源模块测试 33
结 论 36
参考文献 37
致 谢 38
引 言
Internet是目前世界上最大的计算机互联网络,它遍布全球,将世界各地各种规模的网络连接成一个整体。我们的教学也有了很大得发展与改革。现代信息技术是网络教学的技术标志,而教学活动