⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addteacher.jsp

📁 本系统实现的是一个学生课程及成绩管理系统
💻 JSP
字号:
<%@page language="java" contentType="text/html; charset=utf-8"%>
<%@ page import="java.sql.*,com.stuman.domain.Teacher,com.stuman.dao.TeacherDAO,com.stuman.dao.DAOFactory"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>

<html>
	<head>
		<title>增加教师</title>
	</head>
	<body>
		<p>
			<%
			//String admin_id = (String) session.getAttribute("id");
		//	if (admin_id == null) {
		//		response.sendRedirect("login.jsp");
		//	}
		%>
		</p>
		<p align="center">
			新增教师
		</p>
		<form method="post" action="/MyStuMan/addTeacher.do">
			
			<div align="center">
				<table width="51%" border="1">
					<tr>
						<td width="33%">
							教师编号
						</td>
						<td width="67%">
							<html:text property="id" value="" />
						</td>
					</tr>
					<tr>
						<td>
							教师姓名
						</td>
						<td>
							<html:text property="name" value="" />
						</td>
					</tr>
					<tr>
						<td>
							密码
						</td>
						<td>
							<html:password property="password" value="" />
						</td>
					</tr>
					<tr>
						<td>
							职称
						</td>
						<td>
							<html:select property="title" size="1" value="教授">
								<html:option key="a" value="教授">教授</html:option>
								<html:option key="b" value="教授">副教授</html:option>
							</html:select>
						</td>
					</tr>
				</table>
				<p>
					<input type="submit" name="Submit" value="提交">
				</p>
			</div>
		</form>
		<p>
			<a href="getteacher.jsp">&lt;&lt;后退</a>
		</p>


	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -