📄 login.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
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>
<base href="<%=basePath%>">
<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">
-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
-->
</style></head>
<body>
<form name="form1" method="post" action="servlet/CheckServlet">
<table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#00CCFF">
<tr bgcolor="#FFFFFF">
<td colspan="2" align="center"><h3>站 长 登 录</h3></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="right">用户名:</td>
<td><input name="username" type="text" id="username" style="width:200px"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="right">密 码:</td>
<td><input name="password" type="password" id="password" style="width:200px"></td>
</tr>
<tr bgcolor="#FFFFFF" align="center">
<td colspan="2"><input type="submit" name="Submit" value="提交">
<input type="button" name="Submit2" value="注册" onClick="window.location.href='register.jsp';"></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -