📄 getpassword.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<html:html>
<head>
<title>密码找回</title>
<script type="text/javascript">
function isNull(){
if(document.forms[0].memberName.value==""){
alert("用户名称不能为空!");
return false;
}
}
</script>
</head>
<body bgcolor="#9BD5BF">
<center>
<html:form action="/getPass.do">
<table>
<caption>
<font size="5"><b>
会员密码找寻
</b></font>
</caption>
<tr>
<th width="100" align="center">
会员名称:
</th>
<td>
<html:text property="memberName"></html:text>
</td>
</tr>
<tr>
<th width="100" align="center">
提示问题:
</th>
<td>
<html:select property="memberQuestion">
<html:option value="">-------请选择------</html:option>
<html:option value="我的爱好">我的爱好</html:option>
<html:option value="我的家乡">我的家乡</html:option>
<html:option value="我的一个高中同学名字">我的一个高中同学名字</html:option>
<html:option value="我最崇拜的人">我最崇拜的人</html:option>
<html:option value="我的宠物名字">我的宠物名字</html:option>
</html:select>
</td>
</tr>
<tr>
<th width="100" align="center">
提示答案:
</th>
<td>
<html:text property="memberAnswer"></html:text>
</td>
</tr>
<tr>
<th colspan="2" align="center">
<logic:present name="error">
<font size="5" color="red"><bean:write name="error"/></font>
</logic:present>
</th>
</tr>
<tr>
<td colspan="2" align="center">
<html:submit onclick="return isNull()">找寻</html:submit>
<html:reset>重填</html:reset>
</td>
</tr>
</table>
</html:form>
</center>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -