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