• 2020 11 13


    员工培训系统:

    教师个人修改系统:

    <%@ page language="java" contentType="text/ html; charset=UTF-8"
        pageEncoding="UTF-8" import = "java.util.*"%>
         <%@page import="bean.teacher"%>
         <%@page import="bean.job"%>
         <%@page import="bean.section"%>
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    </head>
    <body>
    <%teacher Ateacher=(teacher)request.getAttribute("Ateacher");
    List<section> listsection=(List<section>)request.getAttribute("Asection");
    List<job> listjob=(List<job>)request.getAttribute("Ajob");
    session.setAttribute("ID", Ateacher.getTID());
    %>
    <form action="sevelet?method=update2&user=teacher" method="post" onsubmit="return chech(this)">
    <table align="center" width="450" border="1">
        <tr>
            <td align="center" colspan="5">
                <h2>修改个人信息</h2>
                </td>
        </tr>
        <tr>
            <td align="right">工号:</td>
            <td><%=Ateacher.getTID()%></td>
        </tr>
        <tr>
            <td align="right">姓名:</td>
            <td><input type="text" value=<%=Ateacher.getTname()%> name="name"/></td>
        </tr>
        <tr>
            <td align="center">性别:</td>
            <td>
                <input align="center" type="radio" name="sex" value="男" checked="checked"><input align="center" type="radio" name="sex" value="女"></td>
        </tr>
        <tr>
            <td align="center">职称:</td>
            <td>
                <select id="job" name="job">
            <option value=<%=Ateacher.getTjob() %>><%=Ateacher.getTjob() %></option>
                <%
                    for(job a:listjob)
                    {
                        if(!a.getJname().equals(Ateacher.getTjob())){
                %>
                <option value=<%=a.getJname() %>><%=a.getJname() %></option>
                <%
                        }
                    }
                %>
                </select>
            </td>
        </tr>
        <tr>
            <td align="center">部门:</td>
            <td>
                <select id="section" name="section">
                <option value=<%=Ateacher.getTsection() %>><%=Ateacher.getTsection() %></option>
                <%
                    for(section a:listsection)
                    {
                        if(!a.getSname2().equals(Ateacher.getTsection())){
                %>
                <option value=<%=a.getSname2() %>><%=a.getSname2() %></option>
                <%
                        }
                    }
                %>
                </select>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <input type="submit" value="确认">
            </td>
        </tr>
            <td><a href="user.jsp">注销</a></td>
            <td><a href="setsection1.jsp">返回上一级</a></td>
        </table>
        </form>
    </body>
    </html>
  • 相关阅读:
    PyQt信号传递的方法
    tensorflow 遇到的细节问题
    正则表达式的总结
    ImageFont与PIL
    pytorch源码解析-动态接口宏
    intel windows caffe加速
    cnn可视化 感受野(receptive field)可视化
    Ubuntu安装使用latex
    使用caffe训练mnist数据集
    caffe使用ctrl-c不能保存模型
  • 原文地址:https://www.cnblogs.com/fuxw4971/p/14220359.html
Copyright © 2020-2023  润新知