【JSP开源代码栏目提醒】:网学会员JSP开源代码为您提供updatetea.jsp参考,解决您在updatetea.jsp学习中工作中的难题,参考学习。
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.
sql.*" errorPage="errorpage.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>更新教师</title>
</head>
<body bgcolor="#0099FF" text="#FFFFFF">
<%
String tea_id=request.getParameter("id");
session.setAttribute("id",String.valueOf(tea_id));
%>
<p align="center"><font color="#00FF00" size="+3" face="方正舒体">更新教师</font></p>
<p align="center"> </p>
<form name="form1" method="get" action="TeacherSvlt">
<input type="hidden" name="action" value="update">
<input type="hidden" name="id" value="<%=tea_id%>">
<table width="51%" border="1" align="center">
<tr>
<td width="33%">教师</td>
<td width="67%"><input name="name" type="text" id="name"></td>
</tr>
<tr>
<td>密码</td>
<td><input name="password" type="pass
word" id="password"></td>
</tr>
<tr>
<td>职称</td>
<td><select name="title" size="1" id="title">
<option>讲师</option>
<option>教授</option>
</select></td>
</tr>
</table>
<p align="center">
<input type="submit" name="Submit" value="提交">
</p>
</form>
<p> </p>
<p><a href="getteacher.jsp"><<Back</a></p>
</body>
</html>