📄 userreg.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<base href="<%=basePath%>">
<title><bean:message key="System.title"/></title>
<link href="css/longhua.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/longhua.js"></script>
</head>
<body>
<div>
<a href="/longHua/productCategory.do?method=showAddProductCatPage">AddProductCatPage</a>
<a href="/longHua/productPayType.do?method=showProductPayTypePage">ProductPayTypePage</a>
<a href="/longHua/productSendType.do?method=showAddProductSendTypePage">addProductSendTypePage</a>
<html:form action="/userReg">
<table height=150px>
<tr>
<td colspan="3">
<html:messages id="message" message="true"></html:messages><br>
<html:errors property="userName"/>
<html:errors property="userMail"/>
</td>
</tr>
<tr>
<td><bean:message key="userReg.message.userName"/>:</td>
<td><input type=text name="userName" id="userName" onfocus="showMsg('userRegMsg_Name');" onblur="hideMsg('userName','userRegMsg_Name');"></td>
<td><span class="userRegHint" id="userRegMsg_Name">注册帐号(只支持数字和字母,如:love,love520)<span class="hint-pointer"></span></span></td>
</tr>
<tr>
<td><bean:message key="userReg.message.userMail"/>:</td>
<td><input type=text name="userMail" id="userMail" onfocus="showMsg('userRegMsg_Mail');" onblur="hideMsg('userMail','userRegMsg_Mail');"></td>
<td><span class="userRegHint" id="userRegMsg_Mail">请输入你的邮件地址,请认真填写<span class="hint-pointer"></span></span></td>
</tr>
<tr>
<td colspan="3"><html:submit><bean:message key="message.submit"/></html:submit>
<html:cancel><bean:message key="message.cancel"/></html:cancel>
</td>
</tr>
</table>
</html:form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -