jsp+servlet+mysql员工管理系统
项目截图
注册页面
登录页面
添加员工
编辑员工
员工列表
数据库建表语句/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50509
Source Host : localhost:3306
Source Database : wdhdb
Target Server Type : MYSQL
Target Server Version : 50509
File Encoding : 65001
Date: 2017-11-20 15:08:47
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `t_emp`
-- ----------------------------
DROP TABLE IF EXISTS `t_emp`;
CREATE TABLE `t_emp` (
`id` int(16) NOT NULL AUTO_INCREMENT,
`name` varchar(200) NOT NULL,
`age` int(11) NOT NULL,
`salary` double NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_emp
-- ----------------------------
INSERT INTO `t_emp` VALUES ('1', '最代码', '45', '1000');
INSERT INTO `t_emp` VALUES ('2', 'javaniu', '12', '2000');
-- ----------------------------
-- Table structure for `t_user`
-- ----------------------------
DROP TABLE IF EXISTS `t_user`;
CREATE TABLE `t_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`sex` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of t_user
-- ----------------------------
INSERT INTO `t_user` VALUES ('1', 'zuidaima', 'zuidaima', '111111', 'm');