📄 regisiter.jsp
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ 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"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"
prefix="tiles"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template"
prefix="template"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested"
prefix="nested"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html>
<head>
<html:base />
<title>会员注册</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="../../style/reg.css">
</head>
<body>
<div id="formwrapper">
<html:form action="/register.do?method=regInfomation"
onsubmit="return validateForm(this);">
<fieldset>
<legend>
会员注册
</legend>
<p>
<strong>您的电子邮箱不会被公布出去,但是必须填写.</strong> 在您注册之前请先认真阅读服务条款.
</p>
<div>
<label for="Name">
用户名
</label>
<html:text property="userName" maxlength="15" size="20" value=""></html:text>
<html:errors property="userName" />
*(最多30个字符)
<br />
</div>
<div>
<label for="password">
密码
</label>
<html:password property="password" maxlength="15" size="18"></html:password>
<html:errors property="password" />
*(最多15个字符)
<br />
</div>
<div>
<label for="confirm_password">
重复密码
</label>
<html:password property="conPassword" maxlength="15" size="18"></html:password>
<html:errors property="conPassword" />
*
<br />
</div>
<div>
<label for="Email">
电子邮箱
</label>
<html:text property="userEmail" maxlength="15" size="20"></html:text>
<html:errors property="userEmail" />
*
<br />
</div>
<div>
<label for="AgreeToTerms">
同意服务条款
</label>
<input type="checkbox" name="AgreeToTerms" id="AgreeToTerms"
value="1" />
<a href="#" title="您是否同意服务条款">先看看条款?</a> *
</div>
<div class="enter">
<html:submit value="提交"
style="padding:1px 10px;
font-size:12px;
border:1px #1E7ACE solid;
background:#D0F0FF;"
onclick="{if(confirm('确定要注册会员吗?')){return true;}return false;}"></html:submit>
<html:reset value="重置"
style="padding:1px 10px;
font-size:12px;
border:1px #1E7ACE solid;
background:#D0F0FF;"></html:reset>
</div>
<p>
<strong>* 在提交您的注册信息时, 我们认为您已经同意了我们的服务条款.<br /> *
这些条款可能在未经您同意的时候进行修改.</strong>
</p>
</fieldset>
</html:form>
</div>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -