• 每日总结


    员工培训系统:

    修改部门界面:

    复制代码
    <%@ page language="java" contentType="text/ html; charset=UTF-8"
        pageEncoding="UTF-8" import = "java.util.*"%>
         <%@page import="bean.section"%>
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    </head>
    <body>
    <%List<section> listsection=(List<section>)session.getAttribute("Asection");
    String ID=request.getParameter("ID");
    %>
    <form action="sevelet?method=update&user=section" method="post" onsubmit="return chech(this)">
    <table align="center" width="450" border="1">
        <tr>
            <td align="center" colspan="5">
                <h2>修改部门</h2>
                </td>
        </tr>
        <%
            for(section p:listsection){
                if(p.getSID2().equals(ID))
                {
                    session.setAttribute("ID", p.getSID2());
        %>
        <tr>
            <td align="right">编号:</td>
            <td><%=p.getSID2()%></td>
        </tr>
        <tr>
            <td align="right">姓名:</td>
            <td><input type="text" value=<%=p.getSname2()%> name="name"/></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>
    复制代码
  • 相关阅读:
    多校第四场
    codechef 两题
    Topcoder 多校T-shirt场
    状态压缩DP
    LUCAS 定理
    HDU 1104 Remainder
    HDU4542 小明系列故事——未知剩余系
    Codeforces Round #256 (Div. 2)
    Codeforces Round #FF (Div. 2)
    2016年川师大软件工程学生博客打分
  • 原文地址:https://www.cnblogs.com/ldy2396/p/14220670.html
Copyright © 2020-2023  润新知