📄 register.jsp
字号:
<%@ page language="java" pageEncoding="GBK" isThreadSafe="true" autoFlush="true"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<html>
<STYLE type=text/css>
.pad {
PADDING-LEFT: 150px
}
</style>
<head>
<title>用户注册页面</title>
</head>
<body>
<table width="800px" align="center" bgcolor="#D0E2FD">
<tr>
<td><jsp:include page="webtop.jsp"></jsp:include></td>
</tr>
<tr><td height="20" bgcolor="#FFFFFF" align="center"><font color="#cb6f00">请填写用户信息</font> </tr>
<tr>
<td align="left" width="780px" class=pad bgcolor="#EFF5FE">
<TABLE align="center" width="580px">
<html:form action="/register">
<TR>
<td align="left" height="20px" >
<font color="#cb6f00" size="2">用 户 名: <html:text property="userName"/><html:errors property="userName"/></font><br/>
<font size="1.5">用于登录时使用,用户名长度不能小于4</font></td></TR>
<tr>
<td height="20px">
<font color="#cb6f00" size="2">E-Mail :</font> <html:text property="email"/><html:errors property="email"/></font><br/>
<font size="1.5">请填写您有效的邮件地址,以便于我们为您提供有效的服务。</font>
</td>
</tr>
<tr>
<td height="20px">
<font color="#cb6f00" size="2">密 码: <html:password property="password"/><html:errors property="password"/></font><br/>
<font size="1.5">长度必须大于6个字符小于50个字符,只能为英语字、数字,例如:ckxp3000等。</font>
</td>
</tr>
<tr>
<td height="20px">
<font color="#cb6f00" size="2">确认密码: <html:password property="confirmPassword"/><html:errors property="confirmPassword"/></font><br/>
<font size="1.5">请将输入的密码再次输入,以免设置密码出错。</font>
</td>
</tr>
<tr>
<td height="20px">
<font color="#cb6f00" size="2">密码提问: <html:text property="passwordQuestion"/><html:errors property="passwordQuestion"/></font><br/>
<font size="1.5">(用于密码遗忘时使用)。</font>
</td>
</tr>
<tr>
<td height="20px">
<font color="#cb6f00" size="2">密码答案: <html:text property="passwordAnswer"/><html:errors property="passwordAnswer"/></font><br/>
<font size="1.5">(密码遗忘时将验证此答案)。</font>
</td>
</tr>
<tr>
<td height="20px">
<font color="#cb6f00" size="2">真实姓名: <html:text property="trueName"/><html:errors property="trueName"/></font><br/>
<font size="1.5">以便发货确认。</font>
</td>
</tr>
<tr>
<td>
<html:submit value="提交"/> <html:reset value="重置"/>
</td>
</tr>
</html:form>
</TABLE></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -