📄 userregister.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="com.longtime.wap.module.front.web.form.UserRegisterForm" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%@ include file="/include/header.jsp"%>
<br>
<br>
<br>
<br>
<br>
<html:form action="/registerUser.frame?method=registerUser">
<div style="text-align:center"><html:errors property="org.apache.struts.action.GLOBAL_ERROR"/></div>
<table align="center" width="748" border="0" class="TableFrontRegister">
<tr><td colspan="2"> </td></tr>
<tr>
<td align="right" class="label">
用户名:
</td>
<html:hidden property="editFlug"/>
<td>
<%
UserRegisterForm userForm = (UserRegisterForm)request.getAttribute("registerUserForm");
if (userForm.isEditFlug()){
out.write(userForm.getUsername());
%>
<html:hidden property="username"/>
<html:hidden property="userId"/>
<%
} else {
%>
<html:text property="username" style="width:150px;"></html:text>
<%
}
%>
<html:errors property="username"/>
<%
if (!userForm.isEditFlug()){
%>
<font color="red">*</font> (长度必须在10位以内)
<%}%>
</td>
</tr>
<tr>
<td align="right" class="label">
昵 称:
</td>
<td>
<html:text property="nickName" style="width:150px;"></html:text><html:errors property="nickName"/>
<font color="red">*</font> (长度必须在10位以内)
</td>
</tr>
<tr>
<td align="right">
密 码:
</td>
<td>
<html:password property="password" style="width:150px;"></html:password><html:errors property="password"/>
<font color="red">*</font> (密码长度必须在6~10位之间)
</td>
</tr>
<tr>
<td align="right">
确认密码:
</td>
<td>
<html:password property="rePassword" style="width:150px;"></html:password><html:errors property="rePassword"/>
<font color="red">*</font>
</td>
</tr>
<tr>
<td align="right">
出生日期:
</td>
<td>
<html:text property="birthdayDate" style="width:150px;"></html:text><html:errors property="birthdayDate"/>
<span> (日期格式:1900-01-03)</span>
</td>
</tr>
<tr>
<td align="right">
联系电话:
</td>
<td>
<html:text property="telephone" style="width:150px;"></html:text><html:errors property="telephone"/>
<span> (电话号码格式:01012345678 / 13512345678)</span>
</td>
</tr>
<tr>
<td align="right">
E-mail:
</td>
<td>
<html:text property="email" style="width:150px;"></html:text><html:errors property="email"/>
<font color="red">*</font> (电子邮件格式:example@yahoo.com.cn)
</td>
</tr>
<tr>
<td align="right">
密码提示问题:
</td>
<td>
<html:text property="question" style="width:150px;"></html:text><html:errors property="question"/>
<font color="red">*</font> (密码提示问题长度必须在20个字符以内)
</td>
</tr>
<tr>
<td align="right">
答 案:
</td>
<td>
<html:text property="answer" style="width:150px;"></html:text><html:errors property="answer"/>
<font color="red">*</font> (答案长度必须在20个字符以内)
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td colspan="2" align="center" bgcolor="#E6F5FF">
<html:submit value=" 保 存 "></html:submit>
<input type="reset" name="reset" value=" 重 置 ">
<input type="button" name="backtomain" value=" 返 回 " onClick="window.location.href='<%=basePath%>index.frame';" />
</td>
</tr>
</table>
</html:form>
<%@ include file="/include/footer.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -