【JSP开源代码栏目提醒】:网学会员为需要JSP开源代码的朋友们搜集整理了Add_person.jsp相关资料,希望对各位网友有所帮助!
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<% String path=request.getContextPath(); %>
<html>
<head>
<html:base/>
<title>添加新员工</title>
</head>
<body bgcolor="#075B97">
<center>
<table width="965" border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="4"><jsp:include page="/top.jsp"/></td></tr>
<tr bgcolor="#EDEEFF">
<td width="13" background="<%=path%>/image/left.jpg"></td>
<td align="center" valign="top" bgcolor="#EDEEFF"><jsp:include page="/side.jsp"/></td>
<td width="720" align="center" valign="top" bgcolor="#E8F1F6">
<br><br>
<table><tr><td colspan=6><html:errors/></td></tr></table>
<html:form action="/person/person_add.do?addtype=add" focus="username">
<table width="90%" border="5" cellspacing="0" cellpadding="5" bordercolor="#F0F0F0" bordercolorlight="#1687AF" bordercolordark="#E8F1F6" rules="none" bgcolor="white">
<tr><td height="25" align="center">添加新员工信息</td></tr>
<tr valign="middle">
<td height="274" align="center" valign="middle">
<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolor="lightgrey" bordercolorlight="lightgrey" bordercolordark="white">
<tr valign="middle">
<td width="23%" height="30" align="right" valign="middle" bgcolor="#B9D9E9">用户名: </td>
<td colspan="5" align="left"> <html:text property="username" size="40" maxlength="10"/> 最大长度为:10个字符!</td>
</tr>
<tr valign="middle">
<td height="30" align="right" valign="middle" bgcolor="#B9D9E9">密码: </td>
<td colspan="5" align="left"> <html:password property="userpassword" size="40" maxlength="10" redisplay="false"/> 最大长度为:10个字符!</td>
</tr>
<tr valign="middle">
<td height="30" align="right" valign="middle" bgcolor="#B9D9E9">确认密码: </td>
<td colspan="5" align="left"> <html:pass
word property="useraginpassword" size="40" maxlength="10" redisplay="false"/></td>
</tr>
<tr valign="middle">
<td height="30" align="right" valign="middle" bgcolor="#B9D9E9">: </td>
<td colspan="5" align="left"> <html:text property="usertruename" size="40"/></td>
</tr>
<tr valign="middle">
<td height="30" align="right" valign="middle" bgcolor="#B9D9E9">性别: </td>
<td width="19%" align="left">
<html:select property="usersex">
<html:options collection="personsextypelist" property="value" labelProperty="label"/>
</html:select>
</td>
<td width="14%" align="center" bgcolor="#B9D9E9">权限:</td>
<td colspan="3" align="left">
<html:select property="userable">
<html:options collection="personabletypelist" property="value" labelProperty="label"/>
</html:select>
</td>
</tr>
<tr valign="middle">
<td height="30" align="right" valign="middle" bgcolor="#B9D9E9">职务: </td>
<td align="left">
<html:select property="userjob">
<html:options collection="personjobtypelist" property="value" labelProperty="label"/>
</html:select>
</td>
<td align="center" bgcolor="#B9D9E9">部门:</td>
<td width="14%" align="left">
<html:select property="userbranch">
<html:options collection="personbranchtypelist" property="value" labelProperty="label"/>
</html:select>
</td>
<td width="13%" align="center" bgcolor="#B9D9E9">称号:</td>
<td width="17%" align="left">
<html:select property="usergood">
<html:options collection="persongoodtypelist" property="value" labelProperty="label"/>
</html:select>
</td>
</tr>
<tr valign="middle">
<td height="30" align="right" valign="middle" bgcolor="#B9D9E9">电话: </td>
<td colspan="5" align="left"> <html:text property="usertel" size="40"/></td>
</tr>
<tr valign="middle">
<td height="30" align="right" valign="middle" bgcolor="#B9D9E9">E-mail: </td>
<td colspan="5" align="left"> <html:text property="useremail" size="40"/></td>
</tr>
<tr valign="middle">
<td height="30" align="right" valign="middle" bgcolor="#B9D9E9">地址: </td>
<td colspan="5" align="left"> <html:text property="useraddress" size="66" maxlength="50"/><br> 最大长度为:50个字符!</td>
</tr>
</table>
</td>
</tr>
<tr valign="middle">
<td hei