?? login.jsp
字號(hào):
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>登錄頁(yè)面</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">
<link rel="stylesheet" rev="stylesheet" href="css/index.css" />
<style type="text/css">
/*<![CDATA[*/
.text {
width: 80px;
height: 10px;
position: relative;
right: -5px;
}
#loginBtn {
margin-top: 10px;
height: 20px;
width: 40px;
}
/*]]>*/
</style>
</head>
<body>
<div id="container">
<div id="header">
<div id="headMenu">
<ul id="headMenuUL">
<li><a href="web/login.jsp">登錄</a></li>
<li><a href="web/reg.jsp">注冊(cè)</a></li>
<li><a href="#">友情鏈接</a></li>
<li><a href="lovo39_5_bbs">Home</a></li>
</ul>
</div>
<div id="logo"><a href="lovo39_5_bbs"><img src="images/logo.gif" height="120px" border="0" /></a></div>
<div id="menuBar">
<ul id="menuBarUL">
<li><a href="web/login.jsp">登錄</a></li>
<li><a href="web/reg.jsp">注冊(cè)</a></li>
<li><a href="servlet/ExitDO">退出</a></li>
<li><a href="web/jsp/search.jsp" target="showPage">搜索</a></li>
<li><a href="web/jsp/online.jsp" target="showPage">用戶(hù)列表</a></li>
<li><a href="servlet/WealthSortDO?page=1" target="showPage">財(cái)富排名</a></li>
<li><a href="QueryChatroomsDO" target="showPage">聊天室</a></li>
<li><a href="web/jsp/index.jsp" target="showPage">首頁(yè)</a></li>
</ul>
</div>
</div>
<div id="wraper">
<div id="leftWraper">
<form id="login" name="login" action="LoginDO" method="post">
用戶(hù)名:<input class="text" type="text" id="name" name="name" />
密 碼:<input class="text" type="password" id="password" name="password" />
<input id="loginBtn" name="loginBtn" type="submit" value="登錄" />
<a href="web/findPassword.jsp" target="showPage">忘記密碼</a>
</form>
</div>
<div id="rightWraper">
<iframe id="showPage" name="showPage" src="web/jsp/index.jsp" frameborder="0"></iframe>
</div>
</div>
</div>
<div id="footer">
footer
</div>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -