📄 addemp.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="../error.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@include file="../taglibs.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>增加新员工</title>
<link href="images/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<%@include file="mgrheader.jsp"%>
<TABLE width="780" align="center" CELLSPACING=0 background="images/bodybg.jpg">
<tr>
<TD valign=TOP> </td>
</tr>
<tr>
<td>
<logic:messagesPresent>
<div class="error">
<bean:message key="errors.header"/>
<ul>
<html:messages id="error">
<li><bean:write name="error"/></li>
</html:messages>
</ul>
</div>
</logic:messagesPresent>
</td>
</tr>
<tr>
<td>
<logic:present name="errMsg" scope="request">
<div align="center" class="error">
<bean:write name="errMsg"/>
</div>
</logic:present>
</td>
</tr>
<tr><td>
<html:form action="/processAdd.do" onsubmit="return validateAddForm(this);">
<br><br>
<table width="420" height="257" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="380" height="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#cccccc"></td>
<td height="5" bgcolor="#cccccc"></td>
<td colspan="2" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" rowspan="12" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td height="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#888888"></td>
<td height="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#888888"></td>
<td height="27" class="pt9"><div align="center">请您输入新员工的资料:</div></td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#888888"></td>
<td height="13"> </td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#888888"></td>
<td class="pt9"><div align="center">员工名:
<html:text property="empName" size="15"/>
</div></td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#888888"></td>
<td class="pt9"><div align="center">密 码:
<input type="text" name="empPass" size="15"/>
</div></td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#888888"></td>
<td class="pt9"><div align="center">月 薪:
<input type="text" name="empSal" size="15"/>
</div></td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#888888"></td>
<td class="pt9"><div align="center">验证码:
<input name="vercode" type="text" size=15 maxlength="6">
</div></td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#888888"></td>
<td class="pt9"><div align="center">验证码:
<img name="d" src="authImg"> </div></td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#888888"></td>
<td><div align="center">
<input type="submit" value="添加" name="Submit">
<input type="reset" name="Submit2" value="清除">
</div></td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#888888"></td>
<td> </td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" rowspan="2" bgcolor="#eeeeee"></td>
<td width="5" rowspan="2" bgcolor="#cccccc"></td>
<td width="5" rowspan="2" bgcolor="#888888"></td>
<td rowspan="2"> </td>
<td width="5" rowspan="2" bgcolor="#888888"></td>
<td width="5" rowspan="2" bgcolor="#aaaaaa"></td>
<td width="5" rowspan="2" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td height="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#888888"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td height="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#aaaaaa"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#cccccc"></td>
<td height="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#cccccc"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td height="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
<td width="5" bgcolor="#eeeeee"></td>
</tr>
</table>
</html:form>
<html:javascript formName="addForm"/>
</td></tr>
</table>
<%@include file="../footer.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -