?? login.jsp
字號:
<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<html:base />
<title>login</title>
<style type="text/css">
<!--
.style1 {
color: #0000FF;
font-weight: bold;
font-size: xx-large;
}
.style2 {color: #FF0000}
-->
</style>
</head>
<body>
<html:form action="/login" method="post">
<table width="100%" border="0" align="center">
<tr align="center">
<td>
<p class="style1">
學生課程及成績管理系統(tǒng)
</p>
</tr>
<tr>
<td align="center">
<span class="style2"> <html:errors /> </span>
</tr>
<tr>
<td align="center">
<table border="1">
<tr>
<td align="center">
用戶類型:
<td>
<html:select property="sort" multiple="true" size="1" value="1">
<html:option key="a" value="1">學生</html:option>
<html:option key="b" value="2">教師</html:option>
<html:option key="c" value="3">管理員</html:option>
</html:select>
</td>
<tr>
<td width="22%" align="center">
用 戶 名:
</td>
<td width="74%">
<html:text property="username" />
<html:errors property="username" />
</td>
</tr>
<tr>
<td align="center">
密 碼:
</td>
<td>
<html:password property="password" />
<html:errors property="password" />
</td>
</tr>
<tr>
<td align="center">
</td>
<td>
<html:submit value="登錄" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -