该项目是基于JavaWeb实现的学生管理系统,使用maven进行管理jar包,能够对学生信息进行增删改查,分页查询,以及实现管理员的注册、登录
数据库:MySQL
开发工具:idea
开发环境:jdk 1.8 + tomcat
mysql mysql-connector-java 8.0.21 javax.servlet javax.servlet-api 3.0.1 provided javax.servlet.jsp jsp-api 2.2 provided
SET NAMES utf-8; CREATE DATABASE studentManager; USE studentManager; CREATE TABLE student ( sno INT PRIMARY KEY, sname VARCHAR(20) NOT NULL, sex CHAR(4) , age INT DEFAULT 20, phone VARCHAR(30) ); INSERT INTO student VALUES(1001,'jack','男',23,'13389076524'); INSERT INTO student VALUES(1002,'rose','女',23,'18760987543'); INSERT INTO student VALUES(1003,'tom','男',23,'13389067823'); INSERT INTO student VALUES(1004,'王麻子','男',23,'13560738947'); INSERT INTO student VALUES(1005,'大麻子','男',23,'18899067532'); INSERT INTO student VALUES(1006,'小麻子','男',23,'15678634789'); INSERT INTO student VALUES(1007,'老麻子','男',23,'12199834572'); INSERT INTO student VALUES(1008,'张三','男',23,'15533098843'); INSERT INTO student VALUES(1009,'长萨珊','女',23,'12209835679'); INSERT INTO student VALUES(1010,'李四','女',23,'15509087635'); INSERT INTO student VALUES(1011,'王五','男',23,'15788679043'); INSERT INTO student VALUES(1012,'赵六','女',23,'12489034506'); INSERT INTO student VALUES(1013,'刘二','男',23,'13560596743'); CREATE TABLE login ( uid INT PRIMARY KEY, pwd VARCHAR(20) NOT NULL, ); INSERT INTO login VALUES(1, '1234'); INSERT INTO login VALUES(2, '2222'); INSERT INTO login VALUES(3, '6688');
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 学生信息管理平台 学生信息管理平台
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 注册账号 学生信息管理平台