📄 restore.jsp
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<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="styles.css">
-->
<script language="JavaScript">
<!--
function Juge(theForm)
{
if (data.myaccount.value == "")
{
alert("请输入您的帳號!");
data.myaccount.focus();
return (false);
}
if (data.pwd.value == "")
{
alert("请输入您的口令卡密碼!");
data.pwd.focus();
return (false);
}
if (data.money.value == "")
{
alert("请输入轉賬金額!");
data.money.focus();
return (false);
}
if (data.destaccount.value == "")
{
alert("请输入目標帳號!");
data.destaccount.focus();
return (false);
}
}
-->
</script>
</head>
<body> <center>
<%String name=(String)session.getAttribute("name");
if(name==null){
response.sendRedirect("login.jsp");
}else{
%>
<form method="post" action="/netservice/servlet/restore" name="data"
onsubmit="javascript:return Juge(this);">
<p>
转账表单</p>
<br><p>
您的帐号 :<input type="text" maxlength="20" name="myaccount"><br><p>
转账金额:<input type="text" name="money"><br><p>
转到帐号 :<input type="text" maxlength="20" name="destaccount"><p>
口令卡密码:<input type="password" name="pwd"><p>
<% java.util.Vector<String> v=new mybeans.PasswordCard().getPwdcard();
request.setAttribute("card",v);
%>
<%=v.toString() %>
<p>
<input type="submit" value="转账" name="submin">
</p><p> </p><p> </p><p align="center"> </p>
</form> <%} %></center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -