密级:
科学技术学院
SCIENCE & TECHNOLOGY COLLEGE OF
NANCHANG UNIVERSITY
学 士 学 位 论 文
THESIS OF BACHELOR
(2007.3— 2007.5 年)
题 目 基于 JSP 的学生学籍管理系统
学 科 部: 信息学科部
专 业: 计算机科学与技术
班 级: 计算机(4)班
学 号: 7000803112
学生姓名: 童 来 萍
指导教师: 吴 英 培
起讫日期: 2007-4-28
学生学籍管理系统
I
基于 JSP 的学生学籍管理系统
专业:计算机科学与技术 学号:7000803112 姓名:童来萍 指导教师:吴英培
摘要
随着信息技术在管理上越来越深入而广泛的应用,管理信息系统的实施在技术上已逐步成
熟。管理信息系统是一个不断发展的新型学科,任何一个单位要生存要发展,要高效率地把内
部活动有机地组织起来,就必须建立与自身特点相适应的管理信息系统。
本文采用 JSP 和 MS SQL-Server 等软件为开发工具,以 Windows XP(或 Windows 2000)为
开发平台,设计出一个学籍管理信息系统,对学生的信息、课程、成绩进行统一管理,便于查
询、修改和删除。涉及到的主要内容有:体系结构规划、设计平台的搭建以及系统的设计。主
要实现的功能模块有管理系统的功能介绍子系统、新生入学子系统、学生成绩管理子系统、在
校学生管理子系统、离校学生管理子系统、各种信息查询子系统以及系统维护子系统。
该系统功能完善,可使高校的学籍管理系统从纯手工中解脱出来,实现高校学籍管理系统
自动化、规范化、合理化、科学化,其实用性强,用户界面友好,有助于加快高校的信息传递
和智能建设,并为高校整体实现信息化管理体系作好铺垫。
关键字:学生学籍管理; B/S;JSP;SQL SERVER 2000;JDBC-ODBC;
学生学籍管理系统
II
Based on JSP student records management system
Abstract
Along with information technology in management more and more thorough and
widespread application, the management information system the implementation to be
gradually mature in the technology. The management information system is the new
discipline which unceasingly develops, any unit must survive and develop, wants the
high efficiency organically to organize the internal activity, must establish the
management information system which adapts with own characteristic.
This article uses JSP and MS SQL-Server and so on is the development kit, (or Windows
2,000) as develops the platform take Windows XP, designs a school register management
information system, to student's information, the curriculum, the result carries on
the unification management, is advantageous for the inquiry, the revision and the
deletion. Involves the main content includes: The system structure plan, designs the
platform to build as well as the system design. The main realization function module
has the management system management system the function to introduce the subsystem,
the new born matriculation subsystem, the student result management subsystem, manages
the subsystem in the school student, manages the subsystem, each kind of information
inquiry subsystem as well as the system maintenance subsystem to the school student.
This system function perfect, may cause the universities the school register
management system to extricate from the pure handwork, realization universities school
register management system automation, standardization, rationalization, scientific
style, its usability strong, the user contact surface is friendly, is helpful to speeds
up the universities the information transmission and the intelligent construction, and
finishes the upholstery for the universities whole realization information management
system.
Keywords: Student school records management ;B/S; JSP; SQL SERVER 2000; JDBC-ODBC
学生学籍管理系统
1
目 录
摘要...................................................................................................................................................................I
ABSTRACT.....................................................................................................................................................II
引言 ..................................................................................................................................................................3
第一章 绪论 ................................................................................................................................................4
1.1 选题背景和意义....................................................................................................................................4
1.3 系统开发技术........................................................................................................................................5
1.3.1 B/S 体系结构 ......................................................................................................................................5
1.3.2 SQL SERVER 2000 ...............................................................................................................................6
1.3.3 JSP 技术............................................................................................................................................7
1.3.4 ODBC 数据访问接口.......................................................................................................................7
1.3.5 JDBC 数据访问接口 ..........................................................................................................................8
1.3.6 JAVASCRIPT .........................................................................................................................................9
第二章 系统设计 ..........................................................................................................................................10
2.1 需求分析..............................................................................................................................................10
2.1.1 运行环境...........................................................................................................................................10
2.2 系统总体设计......................................................................................................................................10
2.2.1 系统目标设计 ..................................................................................................................................10
2.2.2 系统设计思想 ..................................................................................................................................11
2.2.3 系统功能描述 ..................................................................................................................................11
2.2.4 系统用例图.......................................................................................................................................14
2.2.5 系统 UML 活动图............................................................................................................................16
第三章 数据库设计 ......................................................................................................................................18
3.1 总体表设计..........................................................................................................................................18
3.2 数据库表的结构 .................................................................................................................................18
3.3 实体及 ER 图 ......................................................................................................................................20
3.3.1 登录管理 ..........................................................................................................................................20
3.3.2 实体的 ER 图....................................................................................................................................21
3.4 数据库表的关系图 .............................................................................................................................23
3.5 数据库表的视图 .................................................................................................................................24
第四章 系统具体实现 ..................................................................................................................................25
4.1 关键应用 .............................................................................................................................................25
4.1.1 数据库连接.......................................................................................................................................25
4.2 登录管理 .............................................................................................................................................28
4.3 菜单界面 .............................................................................................................................................29
4.4 系统管理 .............................................................................................................................................30
4.4.1 学生信息显示页面...........................................................................................................................30
4.4.2 学生信息修改页面...........................................................................................................................33
4.4.3 添加学生信息页面...........................................................................................................................33
4.4.4 成绩查看页面...................................................................................................................................34
4.5 课程管理..............................................................................................................................................35
4.5.1 选修课表显示...................................................................................................................................35
学生学籍管理系统
2
4.5.2 选课情况页面...................................................................................................................................36
4.6 学生管理页面 .....................................................................................................................................37
4.6.1 学籍维护页面...................................................................................................................................38
4.6.2 成绩查看页面...................................................................................................................................40
4.6.3 学生选修课表页面...........................................................................................................................40
4.6.4 所选的课程.......................................................................................................................................41
4.6.5 修改个人密码...................................................................................................................................42
第五章 全文总结 ..........................................................................................................................................44
致 谢 ............................................................................................................................................................45
参考文献: ....................................................................................................................................................46