📄 add.jsp
字号:
<%@ page language="java" import="java.util.*;" pageEncoding="GB18030"%>
<html>
<head>
<script>
function check(){
document.forms[0].action="ProcessRepeat.jsp"
document.forms[0].submit();
}
</script>
</head>
<body background="../bg.jpg">
<form action="ProcessAdd.jsp" name=forms[0] method="post">
<table width="70%" border="1" align="center">
<tr>
<td colspan="2"><font color="red">添加部门信息</font></td>
</tr>
<tr>
<th> 部门名称: </th>
<td><input type="text" name="name" size="28">
<input type="submit" value="验证" onClick="check()">
</td>
</tr>
<tr>
<th> 部门领导: </th>
<td><input type="text" name="leader" size="35"></td>
</tr>
<tr>
<th> 部门简介: </th>
<td><textarea name="brief" rows="5" cols="34"></textarea></td>
</tr>
<tr>
<th colspan="2" align="center">
<input type="submit" name="submit" value="提交">
<input type="reset" name="reset" value="重置">
</th>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -