📄 logon.jsp
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String mess=(String)request.getAttribute("messages");
if(mess==null||mess.equals(""))
mess="<li>欢迎登录!</li>";
%>
<html>
<head>
<title>博主登录</title>
<base href="<%=basePath%>">
<link href="css/style.css" rel="stylesheet">
</head>
<body style="BACKGROUND-IMAGE: url(images/bg.jpg)">
<center>
<table width="777" height="523" border="1" cellpadding="0" cellspacing="0" background="images/logonBG.jpg">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0" style="margin-top:300">
<form action="LogonServlet?action=logon" method="post">
<tr><td colspan="2" align="center"><%=mess %></td></tr>
<tr height="30">
<td>用户名:</td>
<td><input type="text" name="userName" style="width:200"></td>
</tr>
<tr height="30">
<td>密 码:</td>
<td><input type="password" name="userPass" style="width:200"></td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" class="btn_bg" value="登 录">
<input type="reset" class="btn_bg" value="重 置">
<a href="index.jsp">返回首页</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -