📄 userform.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="IncludeHeader.jsp"%>
<html>
<head>
<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="<html:rewrite page="/style.css"/>">
</head>
<body>
<div class="content">
<%@ include file="IncludeTop.jsp"%>
<div id="userForm">
<html:errors name="global.error"/>
<html:form action="/userAction">
<fieldset>
<legend>
用户信息
</legend>
<table border="0" width="100%">
<tr>
<td>用户名:</td>
<td><html:text property="userName" /></td>
</tr>
<tr>
<td>昵称:</td>
<td><html:text property="name" /></td>
</tr>
<tr>
<td>密码:</td>
<td><html:password property="password" /></td>
</tr>
<tr>
<td>确认密码:</td>
<td><html:password property="confirmPsd" /></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>性别:</td>
<td>
<html:radio property="sex" value="0"/>男
<html:radio property="sex" value="1"/>女
</td>
</tr>
<tr>
<td>电话:</td>
<td><html:text property="phone" /></td>
</tr>
<tr>
<td>地址:</td>
<td><html:text property="address" /></td>
</tr>
<tr>
<td>电子邮件:</td>
<td><html:text property="email" /></td>
</tr>
<tr>
<td>邮编:</td>
<td><html:text property="zip" /></td>
</tr>
<tr>
<td></td>
<td><html:submit value="注册" styleClass="normalButton"/></td>
</tr>
</table>
</fieldset>
<html:hidden property="id"/>
<input type="hidden" name="method" value="saveUser"/>
</html:form>
</div>
<%@ include file="IncludeBottom.jsp"%>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -