?? managerlogin.jsp
字號:
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript" language="javascript">
function check()
{
var x = document.form;
if(x.maccount.value=="")
{
alert("請填寫帳號!");
x.maccount.focus();
return false;
}else if(x.mpassword.value=="")
{
alert("請填寫密碼!");
x.mpassword.focus();
return false;
}
}
</script>
<base href="<%=basePath%>">
<title>My JSP 'ManagerLogi.jsp' starting page</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">
-->
</head>
<body>
<br><br><br><br><br><br>
<form name="form" onSubmit="return check()" method="Post" action="servlet/ManagerLoginServlet"><p> </p>
<table style="border:1px solid;" width="422" bordercolor="gray" align="center" height="188">
<tr align="center">
<td> 管理員帳號:</td>
<td> <input type="text" name="maccount"></td></tr>
<tr align="center">
<td> 管理員密碼:</td>
<td> <input type="password" name="mpassword"></td></tr>
<tr>
<td colspan="2"><hr size="1px" color="red"></td>
</tr>
<tr valign="top">
<td align="right"><input type="submit" value=" 登 陸 " name="Submit"></td>
<td align="center"><input type="reset" value=" 重 置 " name="Reset">
</td></tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -