📄 logon.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>登录系统</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="ContentType" content="text/html;charset=utf-8"">
<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">
<style type="text/css">
a:link { text-decoration: none;color: #000080}
a:active { text-decoration:blink}
a:hover { text-decoration:underline;color: #ffd700}
a:visited { text-decoration: none;color: purple}
BODY{
FONT-FAMILY:微软雅黑;
}
</style>
</head>
<body leftMargin="0" topMargin="0" marginwidth="0" marginheight="0" bgcolor="fffaf0" background="http://localhost:2008/UserManagement/images/clsj20071129_005.jpg">
<table cellSpacing="0" cellPadding="0" width="760" align="center" border="0">
<tbody>
<tr>
<td width="300" rowspan="4" align="center" height="60">
<font size="6" color="000080">系统图标</font>
</td>
<td width="300" rowspan="4" align="center" height="60">
<font size="6" color="008000">系统名称</font>
</td>
<td width="160" height="10" class="font" bgcolor="ffffff"> </td>
</tr>
<tr>
<td align="center" style="border-bottom:#ff6666 1px solid" width="160" height="20"
class="font" bgcolor="ffffff">
<font size="2">
中文 English
</font>
</td>
</tr>
<tr>
<td align="center" style="border-bottom:#ff6666 1px solid" width="160" height="20"
class="font" bgcolor="ffffff">
<a class="menu" style="cursor:hand" href="" onClick="myhomepage()">
<font color="000000" size="2">设为首页</font></a>
<a style="cursor:hand" href=javascript:window.external.AddFavorite("")>
<font color="000000" size="2">加入收藏</font></a>
</td>
</tr>
<tr>
<td width="160" height="10" bgcolor="ffffff" class="font"> </td>
</tr>
</tbody>
</table>
<table align="center" width="760" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td width="760" height="2" align="center">
<hr align="center" width="100%" color="696969" noshade="noshade" size="3">
</td>
</tr>
<tr>
<td align="center" width="760" height="20">
<table cellspacing="0" cellpadding="0" width="760" border="0" align="center">
<tbody>
<tr>
<td colspan="2" height="13" align="center" valign="bottom" class="tm">
<div style="text-align:center">
<a class="menu" href="/pages/Welcome.jsp"><font size="2" color="000080"><html:link forward="welcome">首页</html:link></font></a>
|
<a class="menu" href="/pages/Logon.jsp"><font size="2" color="000080"><html:link forward="logon">登录</html:link></font></a>
|
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td width="760" height="2" align="center">
<hr align="center" width="100%" color="696969" noshade="noshade" size="3">
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" width="760" border="0" align="center">
<tbody>
<tr>
<td width="3" rowspan="10" bgcolor="696969"> </td>
<td width="120" height="758" align="center" valign="top">
<table align="left" cellpadding="0" cellspacing="0" border="0" width="120">
<tbody>
<tr>
<td align="center" valign="top" width="120" height="507" >
<div>
<table cellpadding="0" cellspacing="0" border="0" align="center" width="80%">
<tr>
<td width="20" height="15"> </td>
<td height="15"> </td>
<td width="20" height="15"> </td>
</tr>
<tr>
<td width="20" rowspan="10"> </td>
<td height="30" align="center">
<a href="*.jsp" class="menu"><font size="3" color="000080">信息1</font></a>
</td>
<td width="20" rowspan="10"> </td>
</tr>
<tr>
<td height="30" align="center">
<a href="*.jsp" class="font"><font size="3" color="000080">信息2</font></a>
</td>
</tr>
<tr>
<td height="30" align="center">
<a href="*.jsp" class="font"><font size="3" color="000080">信息3</font></a>
</td>
</tr>
<tr>
<td height="30" align="center">
<a href="*.jsp" class="font"><font size="3" color="000080">信息4</font></a>
</td>
</tr>
<tr>
<td height="30" align="center">
<a href="*.jsp" class="font"><font size="3" color="000080">信息5</font></a>
</td>
</tr>
<tr>
<td height="30" align="center">
<a href="*.jsp" class="font"><font size="3" color="000080">信息6</font></a>
</td>
</tr>
<tr>
<td height="30" align="center">
<a href="*.jsp" class="font"><font size="3" color="000080">信息7</font></a>
</td>
</tr>
<tr>
<td height="30" align="center">
<a href="*.jsp" class="font"><font size="3" color="000080">信息8</font></a>
</td>
</tr>
<tr>
<td height="30" align="center">
<a href="*.jsp" class="font"><font size="3" color="000080">信息9</font></a>
</td>
</tr>
<tr>
<td height="30" align="center"> </td>
</tr>
<tr>
<td width="20" height="15"> </td>
<td height="15"> </td>
<td width="20" height="15"> </td>
</tr>
</table>
</div>
</td>
</tr>
</tbody>
</table>
</td>
<td width="3" rowspan="10" bgcolor="696969"> </td>
<td rowspan="2" width="5" align="left" style="border-right:#cccccc 1px dotted"> </td>
<td rowspan="2" width="630" align="center" valign="top" style="background-repeat:no-repeat">
<!--提供用户输入用户名和口令,采用table元素便于图形组件对齐-->
<TABLE cellSpacing="0" cellPadding="0" width="400" align="center" border="0" bordercolor="808080">
<TBODY>
<TR>
<td width="760" height="150" align="center">
<!--如果存在错误,首先显示错误-->
<html:errors />
<logic:messagesPresent>
<html:messages id="password" message="true" header="message.header"
footer="messages.footer">
<li><bean:write name="password"/></li>
</html:messages>
</logic:messagesPresent>
</td>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing="0" cellPadding="0" width="350" align="center" border="2" bordercolor="808080" bgcolor="fdf5e6">
<TBODY>
<TR>
<td width="350" rowspan="6" align="center" valign="middle">
<html:form action="/LogonSubmit" method="post" focus="login">
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TBODY>
<tr class="tm" vAlign="middle" align="center" height="50" >
<th align="right">
用户名:
</th>
<td align="left"><html:text property="login" />
</td>
</tr>
<tr class="tm" vAlign="middle" align="center" height="50">
<th align="right">
口令:
</th>
<td align="left"><html:password property="password" redisplay="false" />
</td>
</tr>
<TR>
<td width="115"> </td>
<td width="229" height="30" align="left" valign="middle"><html:submit value="登录" />
<html:reset value="重置" />
</td>
</tr>
<tr>
<td width="115"> </td>
<td width="229" height="30" align="left" valign="middle">
<font size="2" color="000080">新用户?
》<html:link page="/AddUserAction.do">注册</html:link></font>
</td>
</tr>
</TBODY>
</table>
</html:form>
</td>
</TR>
</TBODY>
</TABLE>
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" border="0" align="center" width="760">
<tbody>
<tr>
<td width="760" height="90" align="center">
<table cellpadding="0" cellspacing="0" border="0" width="760" height="25">
<tbody>
<tr>
<td width="760" height="25" align="center">
<hr align="center" width="100%" color="c0c0c0" noshade="noshade" size="5">
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" border="0" align="center" width="80%">
<tbody>
<tr>
<td align="center" class="font" colspan="8">
*************************************
</td>
</tr>
<tr>
<td width="15%"> </td>
<td width="14%">*</td>
<td width="14%">**</td>
<td width="14%">***</td>
<td width="14%">****</td>
<td width="14%">*****</td>
<td width="15%"> </td>
</tr>
<tr>
<td> </td>
<td colspan="5" align="center">
somethint you want to tell.
</td>
<td> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -