?? 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 + -