📄 reg.jsp
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<%@ taglib uri="struts-html" prefix="html" %>
<html>
<head>
<title>用户注册</title>
</head>
<body>
<center>
<table border="1" width="562" height="400" cellspacing="0" bordercolor="#656600" bordercolorlight="#656600" bordercolordark="white" rules="none">
<html:form action="/school/userInsert">
<input type="hidden" name="method" value="Reg"/>
<tr height="25" bgcolor="#CBCC66"><td align="right" colspan="4">用户注册!</td></tr>
<tr height="30"><td align="center" colspan="4"><html:errors property="RegR"/></td></tr>
<tr>
<td width="25%" align="right">用 户 名:</td>
<td colspan="3" align="center"><html:text property="userName" size="40"/></td>
</tr>
<tr><td colspan="4" style="text-indent:225px"><html:errors property="userName"/></td></tr>
<tr>
<td align="right">真实姓名:</td>
<td colspan="3" align="center"><html:text property="trueName" size="40"/></td>
</tr>
<tr><td colspan="4" style="text-indent:225px"><html:errors property="trueName"/></td></tr>
<tr>
<td align="right">密 码:</td>
<td colspan="3" align="center"><html:password property="userPwd" size="40"/></td>
</tr>
<tr><td colspan="4" style="text-indent:225px"><html:errors property="userPwd"/></td></tr>
<tr><td colspan="4" style="text-indent:225px"><html:errors property="NoSamePwd"/></td></tr>
<tr>
<td align="right">确认密码:</td>
<td colspan="3" align="center"><html:password property="againPwd" size="40"/></td>
</tr>
<tr><td colspan="4" style="text-indent:225px"><html:errors property="againPwd"/></td></tr>
<tr>
<td align="right">性 别:</td>
<td width="28%" style="text-indent:49px">
<html:select property="userSex">
<html:option value="man">男</html:option>
<html:option value="women">女</html:option>
</html:select>
</td>
<td align="center">年 龄:</td>
<td><html:text property="userAge" size="9" maxlength="30"/></td>
</tr>
<tr><td colspan="4" style="text-indent:225px"><html:errors property="userAge"/></td></tr>
<tr>
<td align="right">电话号码:</td>
<td colspan="3" align="center"><html:text property="userPhone" size="40" maxlength="19"/></td>
</tr>
<tr><td colspan="4" style="text-indent:225px"><html:errors property="userPhone"/></td></tr>
<tr>
<td align="right">电子邮箱:</td>
<td colspan="3" align="center"><html:text property="userEmail" size="40"/></td>
</tr>
<tr><td colspan="4" style="text-indent:225px"><html:errors property="userEmail"/></td></tr>
<tr>
<td align="right">住 址:</td>
<td colspan="3" align="center"><html:text property="userPlace" size="40"/></td>
</tr>
<tr><td colspan="4" style="text-indent:225px"><html:errors property="userPlace"/></td></tr>
<tr height="15"><td align="center" colspan="4"> </td></tr>
<tr>
<td colspan="4" align="center">
<html:submit value="注册"/>
<html:reset value="重置"/>
<html:link page="/school/userSearch.do?method=Search">[查看所有用户]</html:link>
</td>
</tr>
<tr height="15" bgcolor="#E9E9AD"><td align="center" colspan="4"> </td></tr>
</html:form>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -