📄 entry.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" errorPage="pages/subPages/Error.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>登录QQ邮箱</title>
<link rel="stylesheet" type="text/css" href="pages/css/Entry.css" />
<script type="text/javascript" src="pages/js/Entry.js"></script>
</head>
<body onload="document.getElementById('emailName').focus();">
<div id="back">
<div id="wrapper">
<div id="head">
<p><img src="pages/images/logo_0_0.gif" width="215" height="60" alt="logo" /></p>
</div><!-- the end of id:head -->
<div id="message">
<%
String message = (String)session.getAttribute("entryMsg");
session.invalidate();
if(message != null)
{
out.println("<p style = 'border: 1px solid #FADC80; background-color: #FFF9E3; color: #CC0000; padding: 10px 0px 10px 10px; margin-top: 10px;'>");
out.println(message);
out.println("</p>");
}
%>
</div><!-- the end of id:message -->
<div id="body">
<div id="left">
<p class="pic"><img src="pages/images/tg-chang.gif" width="146" height="168" alt="change" /></p>
<p class="word">
<span class="word1">QQ邮箱,常联系!</span><br /><br />
<span class="word2">2500年前,人们飞鸽传书</span><br /><br />
<span class="word2">160年前,莫尔斯发明了电报</span><br /><br />
<span class="word2">37年前,第一封电子邮件发出</span><br /><br />
<span class="word2">今天,QQ邮箱联系你、我、他</span><br />
</p>
</div><!-- the end of id:left -->
<div id="right">
<form action="<%=path%>/EntryServlet" method="post" id="entry" name="entry">
<p>登录您的QQ邮箱</p><hr />
<p>
<label>帐 号:</label>
<input type="text" style="ime-mode: disabled;" maxlength="18" value=""
name="emailName" id="emailName" />
<span id="suffix">@qq.com</span>
</p>
<p>
<label>密 码:</label>
<input type="password" maxlength="20" value=""
name="password" id="password" />
</p>
<p>
<input type="button" value="登 录" onclick="check();" class="btn" /><br />
</p>
<p>
<span>没有QQ邮箱?</span><a href="Login.html">注册新邮箱</a>
</p>
</form>
</div><!-- the end of id:right -->
</div><!-- the end of id:body -->
<div id="foot">
<p>©1998 - 2008 Tencent Inc. All Rights Reserved</p>
</div><!-- the end of id:foot -->
</div><!-- the end of id:wrapper -->
</div><!-- the end of id:back -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -