一、源码特点
jsp 学生学籍管理系统是一套完善的java web信息管理系统,对理解JSP java编程开发语言有帮助,系统具有完整的源代码和数据库,系统主要采用B/S模式开发。开发环境为TOMCAT7.0,Myeclipse8.5开发,数据库为sqlserver2008,使用java语言开发。
java Web学生学籍管理系统
二、功能介绍
主要功能包括
(1)用户管理:对用户信息进行添加、删除、修改和查看
(2)班级管理:对班级信息进行添加、删除、修改和查看
(3)学年管理:对学年信息进行添加、删除、修改和查看
(4)学生管理:对学生信息进行添加、删除、修改和查看
(5)转班管理:对转班信息进行添加、删除、修改和查看
(6)转校管理:对转校信息进行添加、删除、修改和查看
(7)休学管理:对休学信息进行添加、删除、修改和查看
(8)复学管理:对复学信息进行添加、删除、修改和查看
(9)退学管理:对退学信息进行添加、删除、修改和查看
(10)个人信息修改
数据库设计
BEGIN
CREATE TABLE [dbo].[yonghu]([yhid] [int] IDENTITY(1,1) NOT NULL,
[yhm] [VARCHAR](40),
[mm] [VARCHAR](40),
[xm] [VARCHAR](40),
[lxdh] [VARCHAR](40),
[lxdz] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'yonghu', @level2type=N'COLUMN', @level2name=N'yhm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'密码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'yonghu', @level2type=N'COLUMN', @level2name=N'mm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'姓名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'yonghu', @level2type=N'COLUMN', @level2name=N'xm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'联系电话' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'yonghu', @level2type=N'COLUMN', @level2name=N'lxdh'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'联系地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'yonghu', @level2type=N'COLUMN', @level2name=N'lxdz'
BEGIN
CREATE TABLE [dbo].[banji]([bjid] [int] IDENTITY(1,1) NOT NULL,
[bj] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'banji', @level2type=N'COLUMN', @level2name=N'bj'
BEGIN
CREATE TABLE [dbo].[xuenian]([xnid] [int] IDENTITY(1,1) NOT NULL,
[xn] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学年' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuenian', @level2type=N'COLUMN', @level2name=N'xn'
BEGIN
CREATE TABLE [dbo].[xuesheng]([xsid] [int] IDENTITY(1,1) NOT NULL,
[yhm] [VARCHAR](40),
[mm] [VARCHAR](40),
[xm] [VARCHAR](40),
[nl] [VARCHAR](40),
[bj] [VARCHAR](40),
[xn] [VARCHAR](40),
[zt] [VARCHAR](40),
[xb] [VARCHAR](40),
[csrq] [VARCHAR](40),
[yx] [VARCHAR](40),
[xx] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'yhm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'密码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'mm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'姓名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'xm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'年龄' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'nl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'bj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学年' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'xn'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'zt'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'性别' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'xb'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出生日期' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'csrq'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'院系' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'yx'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学校' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xuesheng', @level2type=N'COLUMN', @level2name=N'xx'
BEGIN
CREATE TABLE [dbo].[zhuanban]([zbid] [int] IDENTITY(1,1) NOT NULL,
[xs] [VARCHAR](40),
[xbj] [VARCHAR](40),
[zrsj] [VARCHAR](40),
[zrsm] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学生' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'zhuanban', @level2type=N'COLUMN', @level2name=N'xs'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'新班级' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'zhuanban', @level2type=N'COLUMN', @level2name=N'xbj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'转入时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'zhuanban', @level2type=N'COLUMN', @level2name=N'zrsj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'转入说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'zhuanban', @level2type=N'COLUMN', @level2name=N'zrsm'
BEGIN
CREATE TABLE [dbo].[zhuanxiao]([zxid] [int] IDENTITY(1,1) NOT NULL,
[xs] [VARCHAR](40),
[xxxmc] [VARCHAR](40),
[zcsj] [VARCHAR](40),
[zcyy] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学生' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'zhuanxiao', @level2type=N'COLUMN', @level2name=N'xs'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'新学校名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'zhuanxiao', @level2type=N'COLUMN', @level2name=N'xxxmc'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'转出时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'zhuanxiao', @level2type=N'COLUMN', @level2name=N'zcsj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'转出原因' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'zhuanxiao', @level2type=N'COLUMN', @level2name=N'zcyy'
BEGIN
CREATE TABLE [dbo].[xiuxue]([xxid] [int] IDENTITY(1,1) NOT NULL,
[xs] [VARCHAR](40),
[xxyy] [VARCHAR](40),
[xxsj] [VARCHAR](40),
[bzsm] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学生' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xiuxue', @level2type=N'COLUMN', @level2name=N'xs'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'休学原因' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xiuxue', @level2type=N'COLUMN', @level2name=N'xxyy'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'休学时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xiuxue', @level2type=N'COLUMN', @level2name=N'xxsj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xiuxue', @level2type=N'COLUMN', @level2name=N'bzsm'
BEGIN
CREATE TABLE [dbo].[fuxue]([fxid] [int] IDENTITY(1,1) NOT NULL,
[xs] [VARCHAR](40),
[fxsj] [VARCHAR](40),
[fxsm] [VARCHAR](40),
[bzsm] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学生' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'fuxue', @level2type=N'COLUMN', @level2name=N'xs'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'复学时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'fuxue', @level2type=N'COLUMN', @level2name=N'fxsj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'复学说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'fuxue', @level2type=N'COLUMN', @level2name=N'fxsm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'fuxue', @level2type=N'COLUMN', @level2name=N'bzsm'
BEGIN
CREATE TABLE [dbo].[tuixue]([txid] [int] IDENTITY(1,1) NOT NULL,
[xs] [VARCHAR](40),
[txsj] [VARCHAR](40),
[txsm] [VARCHAR](40),
[bzsm] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学生' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'tuixue', @level2type=N'COLUMN', @level2name=N'xs'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'退学时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'tuixue', @level2type=N'COLUMN', @level2name=N'txsj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'退学说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'tuixue', @level2type=N'COLUMN', @level2name=N'txsm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'tuixue', @level2type=N'COLUMN', @level2name=N'bzsm'
代码设计
String keyid =(String)request.getParameter("keyid");
String xs=(String)request.getParameter("xs");//变量:学生
String fxsj=(String)request.getParameter("fxsj");//变量:复学时间
String fxsm=(String)request.getParameter("fxsm");//变量:复学说明
String bzsm=(String)request.getParameter("bzsm");//变量:备注说明
String sql="";//声明sql
int row=1;///定义执行结果
try{
sql="update xuesheng set zt='正常' where yhm='"+xs+"'";
db.update(sql);
sql="insert into fuxue(xs,fxsj,fxsm,bzsm) values('"+xs+"','"+fxsj+"','"+fxsm+"','"+bzsm+"')";
;//复学SQL 语句
//int row =0;
row=db.update(sql);
}catch(Exception e){
System.out.println(e.toString());}
if(row==1){
out.println("<script>");
out.println("alert('操作成功');");
out.println("window.location='fuxueadd.jsp'");
三、注意事项
1、管理员账号:admin密码:admin 数据库配置文件DBO.java
2、开发环境为TOMCAT7.0,Myeclipse8.5开发,数据库为sqlserver2008,使用java语言开发。
3、数据库文件名是jspxsxj.sql ,系统名称xsxj
4、系统首页地址:http://127.0.0.1:8080/xsxj
四 系统实现
下载地址:
https://download.csdn.net/download/qq_41221322/89187508
需要源码 其他的定制服务 下方联系卡片↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓