10.25

发布时间 2023-12-16 23:32:44作者: 张佳木

今日学习内容

<%--
Created by IntelliJ IDEA.
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>Title</title>
</head>
<body>

<h1>添加教师信息</h1>
<form action="add_teacher_end.jsp" >
<label for="tid">工号:</label>
<input type="text" id="tid" name="tid" pattern="[0-9]{6}" title="请输入六位数字组成的工号" required><br><br>
<br>
<label for="Name">姓名:</label>
<input type="text" id="Name" name="name" ><br><br>
<%--“助教”、“讲师”、“副教授”、“教授”--%>
<label for="zhicheng">职称:</label>
<select name="zhicheng" id="zhicheng">
<option value="助教" selected>助教</option>
<option value="讲师">讲师</option>
<option value="副教授">副教授</option>
<option value="教授">教授</option>
</select>
<br><br>
<%-- 信息、土木、机械、电气、交通”--%>

<label for="college">学院:</label>
<select name="college" id="college">
<option value="信息" selected>信息</option>
<option value="土木">土木</option>
<option value="机械">机械</option>
<option value="电气">电气</option>
<option value="交通">交通</option>
</select>
<br><br>
<input type="submit" value="添加">
</form>
</body>
</html>