基于javaweb+jsp的毕业生就业信息管理系统

基于javaweb+jsp的毕业生就业信息管理系统

代码实现

<html>
                        <textarea style="height: 100px;" class="form-control" name="classText" id="add-classText"></textarea>
                <td>${vo.classMaster}</td>
                    <button type="submit" class="btn btn-line btn-default">提交</button>
                <td>${vo.classMasterTel}</td>
                    <button type="button" class="btn btn-line btn-primary" data-dismiss="modal">取消</button>
        return true;
<div class="modal fade" id="modal-add" tabindex="-1" role="dialog"
            return false;
                <td>${vo.classMajor}</td>
                    </tbody>
        let button = $(event.relatedTarget);
            <jsp:include page="menu.jsp">
            type: "get",
        })
                modal.find('#info-classMajor').text(vo.classMajor);
        return true;
<!DOCTYPE html>

    function editCheck() {
</head>
    function addCheck() {
        if (document.getElementById("add-classMasterTel").value.trim().length == 0) {
                    <div class="form-group">
                <jsp:param value="active" name="Class_active"/>
        if (document.getElementById("add-classAllCount").value.trim().length == 0) {
        <div class="modal-content">
                    <div class="form-group">
                    <div class="form-group">
<div class="modal fade" id="modal-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                </div>
        if (document.getElementById("edit-classMajor").value.trim().length == 0) {
                </div>
                <div class="col-sm-5">
                        <label for="add-classMasterTel" class="control-label">联系方式:</label>
                </div>
                <li><a href="AuthServlet?action=logout">退出</a></li>
                        <tr>
                </div>
        //根据ID获取值
                                        data-id="${vo.id}"
        let id = button.data('id');
    <div class="modal-dialog" role="document">
                    </div>
        }
                modal.find('#info-classAllCount').text(vo.classAllCount);
            return false;
                <div class="modal-header">
                            <td style="width: 15%;">就业人数:</td>
                    </div>
        }
                        <label for="add-className" class="control-label">名称:</label>
            alert("名称不能为空");
                        </tr>
                    </div>
                            <td style="width: 15%;">班主任:</td>
            alert("就业人数不能为空");
                    </div>
                <div class="modal-body">
                    <button type="submit" class="btn btn-line btn-default">提交</button>
<body>
    }
</html>
                            <td style="width: 15%;">总人数:</td>
    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" name="action" value="edit">
                    <c:forEach items="${list}" var="vo">
                        <span aria-hidden="true">&times;</span>
                    <div class="form-group hidden">
                <div class="modal-body">
                        <input type="text" class="form-control" name="classAllCount" id="edit-classAllCount">
                        <input type="text" class="form-control" name="classMajor" id="add-classMajor">
            alert("总人数不能为空");
                            </th>
                                <button class="btn btn-line btn-danger btn-sm"
        </div>
    </div>
                    </button>
                    <div class="form-group hidden">
                    </div>
                    </div>
                modal.find('#info-classJobCount').text(vo.classJobCount);
                    </div>
                        <span aria-hidden="true">&times;</span>
</div>
<!-- add -->
            success: function (voString) {
                        <input type="text" class="form-control" name="classMaster" id="add-classMaster">
<nav class="navbar navbar-inverse navbar-fixed-top">
        </div>
                                        data-toggle="modal" data-target="#modal-edit">编辑
<div class="container-fluid">
        //根据ID获取值

                        <input type="text" class="form-control" name="classAllCount" id="add-classAllCount">
    //增加表单提交之前进行检查,如果return false,则不允许提交
                <span class="sr-only">毕业生就业信息管理系统</span> <span class="icon-bar"></span>
                        <textarea style="height: 100px;" class="form-control" name="classText" id="edit-classText"></textarea>
                            <th>班主任</th>
            }
                        <label for="edit-classAllCount" class="control-label">总人数:</label>
        if (document.getElementById("add-classMaster").value.trim().length == 0) {
    <div class="row">
                        modal.find('#edit-className').val(vo.className);
                    </tr>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
                        <label for="edit-classMajor" class="control-label">专业:</label>
    function searchList() {
                    </c:forEach>
                <td>${vo.className}</td>
                        </tr>
                        <label for="edit-className" class="control-label">名称:</label>
                        <label for="add-classJobCount" class="control-label">就业人数:</label>
                        modal.find('#edit-classText').val(vo.classText);
                    </div>
    $('#modal-edit').on('show.bs.modal', function (event) {
            <form action="ClassServlet">
                    <div class="form-group hidden">
            </ul>
                    <div class="form-group">
<div class="modal fade" id="modal-info" tabindex="-1" role="dialog"
            <br>
                <div class="modal-header">
                            <td><b id="info-classMaster"></b></td>
                    </div>
            alert("班主任不能为空");
            <div class="row">
                    <thead>
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                        </tr>
            alert("专业不能为空");
            </form>
                <div class="modal-footer">
                                </button>
            </form>
                        <input type="text" class="form-control" name="action" value="add">

                    <br>
        </div>
        if (document.getElementById("edit-classJobCount").value.trim().length == 0) {
                    <button type="button" class="btn btn-line btn-primary" data-dismiss="modal">关闭</button>
                        <tr>
                        <input class="form-control" type="hidden" id="searchColumn" name="searchColumn" value="class_name"/>
            return false;
                        <input type="text" class="form-control" name="classMaster" id="edit-classMaster">
     aria-labelledby="myModalLabel">
                        </tr>
                    </div>
        </div>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
        }
                        <input type="text" class="form-control" name="createTime" id="edit-createTime">
                    <tr>
                modal.find('#info-classMasterTel').text(vo.classMasterTel);
                        <tr>
                <td>${vo.classAllCount}</td>
                        <input type="text" class="form-control" name="className" id="edit-className">
                </div>
        if (document.getElementById("add-className").value.trim().length == 0) {
            </form>
                    <tbody>
        $.ajax({
        window.location.href = "ClassServlet?action=list&searchColumn="+document.getElementById("searchColumn").value+"&keyword=" + document.getElementById("search_keyword").value;
    <div class="modal-dialog" role="document">
                        <input type="text" class="form-control" name="className" id="add-className">
<!-- edit -->
                        modal.find('#edit-classMajor').val(vo.classMajor);
            </div>
                        </tr>
                        <input type="text" class="form-control" name="classJobCount" id="add-classJobCount">
                <table class="table table-striped table-hover">
            return false;
                        <input class="form-control" type="text" id="search_keyword" name="search_keyword" placeholder="名称"/> <span class="input-group-btn"><button class="btn btn-line btn-default" type="button" onclick="searchList()">搜索</button></span>
                    </div>
                            <td><b id="info-classMajor"></b></td>
                        <input type="text" class="form-control" name="classMasterTel" id="edit-classMasterTel">
                        </tr>
                </div>
            <form action="ClassServlet" onsubmit="return addCheck()">
                    </div>
                        </tr>
        }
                        <label class="control-label">(hidden)</label>
                modal.find('#info-classText').text(vo.classText);
                            <th>联系方式</th>
                                </button>
    <div class="container-fluid">
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
</div>
                        <input type="text" readonly class="form-control" name="id" id="edit-id">
            alert("班主任不能为空");
                            aria-label="Close">

        let id = button.data('id');
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
        if (document.getElementById("edit-classMasterTel").value.trim().length == 0) {
                        <label class="control-label">(hidden)</label>
                        <label for="edit-classMasterTel" class="control-label">联系方式:</label>
                    <h4 class="modal-title" id="myModalLabel">增加班级 </h4>
                        <input type="text" class="form-control" name="classJobCount" id="edit-classJobCount">
                <div class="modal-footer">
                </div>
                        </tr>
                        <tr>
            <!-- 侧边栏 -->
        let modal = $(this);
        }
    </div>
                            <td style="width: 15%;">联系方式:</td>
                        <label for="edit-classMaster" class="control-label">班主任:</label>
            return false;
    <link rel="stylesheet" href="css/bootstrap.css">
                </div>
        let button = $(event.relatedTarget);
                        <tr>
    </div>
            <form>
        <div class="modal-content">
            <form action="ClassServlet" onsubmit="return editCheck()">
                        modal.find('#edit-classMaster').val(vo.classMaster);
    </div>
    <script src="js/bootstrap.js"></script>
                                        data-toggle="modal" data-target="#modal-info">详情
                <div class="modal-body">
                    <h4 class="modal-title">更新班级 </h4>
</div>
                    <div class="form-group">
                </div>
                    <button type="submit" class="btn btn-line btn-default">删除</button>
            url: 'ClassServlet?action=get&id=' + id,
                    </thead>
                    <button type="button" <c:if test="${loginUser.userType != '管理员'}">disabled="disabled" title="没有权限!!!"</c:if> class="btn btn-line btn-default" data-toggle="modal" data-target="#modal-add">添加班级 
                        <tr>
                            <td><b id="info-className"></b></td>
                        <input type="hidden" class="form-control" name="action" value="delete">
                </div>
                <div class="modal-footer">
            type: "get",
                let vo = eval('(' + voString + ')');
        }
<head>
                <div class="modal-header">
            alert("联系方式不能为空");
        </div>
            <br>
    })
                    </div>
        }
                    </button>
        <div class="col-sm-3 col-md-2 sidebar">
     aria-labelledby="myModalLabel">
                            <td><b id="info-classJobCount"></b></td>
                modal.find('#info-className').text(vo.className);
    }
                </div>
                        <label for="edit-classJobCount" class="control-label">就业人数:</label>
                        <label for="add-classText" class="control-label">备注:</label>
        let button = $(event.relatedTarget);
            alert("就业人数不能为空");
                            <th>名称</th>
            alert("联系方式不能为空");
                    <table class="table table-striped table-hover" style="font-size: 15px;">
<!-- info -->
            </div>
            alert("名称不能为空");
    </div>
                    </button>

                <div class="col-sm-7">
                </div>
    <script src="js/jquery-3.5.1.js"></script>
                    <button type="button" class="btn btn-line btn-primary" data-dismiss="modal">取消</button>
                <span class="icon-bar"></span> <span class="icon-bar"></span>
            alert("总人数不能为空");
        let modal = $(this);
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                            <th>专业</th>
                        <label for="add-classMaster" class="control-label">班主任:</label>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
                    确认要删除该班级 记录吗?
    <meta charset="UTF-8">
                    <h4 class="modal-title">删除班级 </h4>
            return false;
                    <div class="form-group">
<!-- delete -->
                </table>
                <div class="modal-footer">
                    <div class="form-group">
<div class="modal fade" id="modal-edit" tabindex="-1" role="dialog"
                        <input type="text" class="form-control" name="classMajor" id="edit-classMajor">
                modal.find('#info-classMaster').text(vo.classMaster);
                        <label class="control-label">(hidden)</label>
                    <div class="form-group">
                            <th>就业人数</th>
                    <div class="form-group">
    <div class="modal-dialog" role="document">
    })
            </jsp:include>
        <div class="modal-content">
                </div>
        }
                    </button>
        <br>
                    </table>
        })
        if (document.getElementById("edit-classMaster").value.trim().length == 0) {
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            return false;
     aria-labelledby="myModalLabel">
        <div class="navbar-header">
                    <button type="button" class="btn btn-line btn-primary" data-dismiss="modal">取消</button>
                                <button class="btn btn-line btn-default btn-sm" <c:if test="${loginUser.userType != '管理员'}">disabled="disabled" title="没有权限!!!"</c:if> data-id="${vo.id}"
            alert("专业不能为空");
                                                <c:if test="${loginUser.userType != '管理员'}">disabled="disabled" title="没有权限!!!"</c:if>
            <a class="navbar-brand" href="#">毕业生就业信息管理系统</a>
        }
                    <h4 class="modal-title">班级 </h4>
    //编辑表单提交之前进行检查,如果return false,则不允许提交
            return false;
</script>
                    </div>
                        modal.find('#edit-classAllCount').val(vo.classAllCount);
        </div>
                <td>${vo.classJobCount}</td>
    })
</div>
                        <input type="text" class="form-control" name="id" id="delete-id">
<script>
                        <tr>
            <div style="float: right;padding-right: 10px;color: #515151;"><jsp:include page="split.jsp"/></div>
                    <div class="form-group">
                        <th style="text-align: center;">操作</th>
    $('#modal-info').on('show.bs.modal', function (event) {
                    </div>
                    <div class="form-group hidden">
            </button>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <tr>
                        modal.find('#edit-classJobCount').val(vo.classJobCount);
                                <button class="btn btn-line btn-danger btn-sm" data-id="${vo.id}"
    <div class="modal-dialog" role="document">

运行环境

Java≥6、Tomcat≥7.0、MySQL≥5.5

开发工具

idea/eclipse/MyEclipse

技术框架

JSP JavaBean MVC MySQL JavaScript idea eclipse myEclipse Servlet或SSM等

适用

课程设计,大作业,毕业设计,项目练习,学习演示等

功能说明

扫描二维码关注公众号,回复: 13151630 查看本文章

管理员、普通用户、登录、注册、退出、用户模块、公告模块、班级信息模块、招聘信息模块、就业信息模块的增删改查管理

v.mp4_20210507_095600.407

v.mp4_20210507_095642.546

v.mp4_20210507_095649.728

v.mp4_20210507_095703.135

document

猜你喜欢

转载自blog.csdn.net/javayms/article/details/120591922