?? login.jsp
字號:
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"
pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%String errors=(String)request.getAttribute("errors"); %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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="css/css.css">
</head>
<body>
<jsp:include flush="true" page="header.jsp"></jsp:include>
<%if(errors!=null){%><font color="#FF0000"><%=errors%></font><%} %>
<form name="form1" method="post" action="ManageLoginServlet">
<table width="740" height="149" border="1">
<tr>
<td colspan="2"><div align="center">后臺登錄系統(tǒng)</div></td>
</tr>
<tr>
<td width="184"> 姓名</td>
<td width="533"><input name="userName" type="text"></td>
</tr>
<tr>
<td>密碼</td>
<td><input name="passWord" type="password"></td>
</tr>
</table>
<div align="center">
<input name="submit" type="submit" value="提交">
<input name="reset" type="reset" value=" 重置">
</div><table width="200" border="1">
</table>
</form>
<a href="admin/regist.jsp">新管理員注冊</a><br>
<jsp:include flush="true" page="footer.jsp"></jsp:include>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -