• 2020 12 7


    员工培训系统;

    设置课程界面:

    <%@ page language="java" contentType="text/ html; charset=UTF-8"
        pageEncoding="UTF-8" import = "java.util.*"%>
         <%@page import="bean.teacher"%>
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    </head>
    <body>
    <%List<teacher> listteacher=(List<teacher>)request.getAttribute("Ateacher");%>
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    </head>
    <body>
    <form action="sevelet?method=setclass1" method="post" onsubmit="return chech(this)">
        <table align="center" width="450">
        <tr>
            <td align="center" width="450">
                <h2>设置课程参数</h2>
                <hr>
            </td>
        </tr>
            <td align="center">编号:</td>
            <td><input align="center" type="text" name="ID"/></td>
        </tr>
        <tr>
            <td align="center">名称:</td>
            <td><input type="text" name="name"/></td>
        </tr>
        <tr>
            <td align="center">教师:</td>
            <td>
                <select id="teacher" name="teacher">
                <% 
                    for(teacher a:listteacher)
                    {
                %>
                <option value=<%=a.getTname() %>><%=a.getTname() %></option>
                <%}
                %>
                </select>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <input type="submit" value="确认">
            </td>
        </tr>
        <tr align="center"><td><a href="user.jsp">注销</a></td></tr>
        <br>
        <tr align="center"><td><a href="setjob1.jsp">返回上一级</a></td></tr>
        <br>
        </table>
        </form>
    </body>
    </html>
    </body>
    </html>
  • 相关阅读:
    2028 ACM Lowest Common Multiple Plus
    2032 杨辉三角
    2011 ACM 0和1思想
    grid
    Change position in observation
    1490 ACM 数学
    1489 ACM 贪心
    2009 ACM 水题
    Book Lending Registration
    MR1和MR2(Yarn)工作原理流程
  • 原文地址:https://www.cnblogs.com/fuxw4971/p/14220313.html
Copyright © 2020-2023  润新知