员工培训系统;
设置课程界面:
<%@ 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>