📄 mlogin.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>联信OA-后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.STYLE2 {color: #0000FF;
font-size: 16px;
font-weight: bold;
}
.STYLE7 {
font-size: 18px;
font-weight: bold;
color: #CCCCCC;
}
-->
</style>
<link href="<%=request.getContextPath() %>/css/anniu.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE10 {font-size: 16px; font-weight: bold; color: #0000FF; }
-->
</style>
<script type="text/javascript">
function frcheck(){
var username=document.forms[0].username.value;
var userpwd=document.forms[0].userpwd.value;
if(username==""||username.length<3||username.length>12){
alert("请正确输入用户名!");
return false;
}
else if(userpwd==""||userpwd.length<6||userpwd.length>15){
alert("请正确输入密码!");
return false;
}
return true;
}
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="1024" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="229"><img src="<%=request.getContextPath() %>/image/index_01.gif" width="271" height="229"></td>
<td><img src="<%=request.getContextPath() %>/image/index_02.gif" width="489" height="229"></td>
<td><img src="<%=request.getContextPath() %>/image/index_03.gif" width="263" height="229"></td>
</tr>
<tr>
<td><img src="<%=request.getContextPath() %>/image/index_05.gif" width="271" height="269"></td>
<td background="<%=request.getContextPath() %>/image/index_06.gif">
<html:form action="/mlogin" onsubmit="return frcheck()" >
<table width="280" border="0" align="center">
<tr>
<td height="15">
</td>
<td>
</td>
</tr>
<tr>
<td height="35" colspan="2">
<div align="center">
<span class="STYLE7">后 台 用 户 登 录</span>
</div>
</td>
</tr>
<tr>
<td width="69" height="35">
<span class="STYLE2">用户名:</span>
</td>
<td width="201">
<html:text property="username" size="18"></html:text>
</td>
</tr>
<tr>
<td height="35">
<span class="STYLE2">密 码:</span>
</td>
<td>
<html:password property="userpwd" size="18"></html:password>
</td>
</tr>
<tr>
<td height="47" colspan="2">
<div align="center">
<span class="STYLE2">
<html:submit>登 录</html:submit>
<html:reset>重 置</html:reset>
</span>
</div>
</td>
</tr>
</table>
</html:form>
</td>
<td colspan="2"><img src="<%=request.getContextPath() %>/image/index_07.gif" width="264" height="269"></td>
</tr>
<tr>
<td><img src="<%=request.getContextPath() %>/image/index_08.gif" width="271" height="193" alt=""></td>
<td><img src="<%=request.getContextPath() %>/image/index_09.gif" width="489" height="193" alt=""></td>
<td><img src="<%=request.getContextPath() %>/image/index_10.gif" width="264" height="193" alt=""></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -