📄 login.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>
<%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>
<title></title>
<base href="<%=basePath%>">
<title>My JSP 'index.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">
-->
<%
// String action=request.getParameter("action");
// if(action.equals("stop"))
// {
//String input="对不起,您的帐号和密码已被停用!!";
// }
%>
</head>
<body bgcolor="#6685C5"><iframe height=0></iframe>
<CENTER>
<H5>
后台管理员登陆
</H5>
</CENTER>
<FORM action="servlet/checkLogin">
<table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#6685C5" height="10">
<tr>
<td bgcolor="#FFFFFF">
<table width="300" border="0" align="center" cellpadding="0" cellspacing="0" height="30">
<TR>
<TD align="right">
用户名:
</TD>
<TD>
<INPUT type="text" name="userName" />
</TD>
<BR />
</TR>
<TR>
<TD align="right">
密码:
</TD>
<TD>
<INPUT type="password" name="userPass">
</TD>
<BR />
</TR>
<TR>
<TD colspan="2" align="center">
<INPUT type="submit" value="登录" name=""/>
<INPUT type="Reset" value="重置" name=""/>
</TD>
</TR>
</table>
</td>
</tr>
</table>
</FORM>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -