📄 index.jsp
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<link rel="stylesheet" type="text/css" href="style.css" />
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" session="false" isErrorPage="true" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Login page</title>
</head>
<body>
<table align="center" class="main_table">
<!-- FIRST ROW IN MAIN TABLE -->
<tr class="header">
<td colspan=3><img src="img/nokia.png"></td>
</tr>
<tr>
<td class="left_col">
</td>
<td class="middle_col">
<center>
<h2>Please login</h2>
<h3>To access this page, you must first log in by entering your username and password.</h3>
<form method=POST action="Controller?action=LoginAction">
Username: <input name="username" size=15 maxlength=15 /><br>
Password: <input type=password name="password" size=15 maxlength=15 /><br>
<input class="button" type=submit value="Login" />
</form>
<font color="#FF0000">
<c:out value="${requestScope['loginError']}" />
</font>
</center>
</td>
<td class="right_col">
</td>
</tr>
</table>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -