em.jsp
上传用户:sxwtmm
上传日期:2022-08-11
资源大小:2183k
文件大小:2k
- <%@ page contentType="text/html; charset=GBK" language="java"%>
- <%@ page import="oa.data.*,java.util.*"%>
- <jsp:useBean id="str" scope="page" class="oa.sys.Str"/>
- <%
- request.setCharacterEncoding("GBK");
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>登录</title>
- <link href="../css/style.css" rel="stylesheet" type="text/css" />
- <script language="javascript" src="../js/oa.js">
- </script>
- <style type="text/css">
- <!--
- body {
- margin-right: -40px;
- margin-bottom: -20px;
- }
- .style3 {color: #C60001; font-weight: bold; }
- .style4 {font-weight: bold}
- .style5 {color: #C60001}
- -->
- </style></head>
- <body>
- <table width="102%" height="99%" border="0" cellpadding="0" cellspacing="0" background="../image/back.gif"class="top2">
- <form name="form1" id="form1" method="post" action="em" onSubmit="return login()">
- <tr>
- <td width="451" height="246" rowspan="6"> </td>
- <td height="138" colspan="3" align="center" > </td>
- <td width="70" rowspan="6" > </td>
- </tr>
- <tr>
- <td height="17" colspan="3" align="center" ><span class="style3">员工登录</span></td>
- </tr>
- <tr>
- <td width="20" align="center" > </td>
- <td width="65" height="21" align="center" ><div align="center" class="style3">员工号:</div></td>
- <td width="178" height="21" align="center" ><div align="left">
- <input type="text" name="id" />
- </div></td>
- </tr>
- <tr>
- <td align="center" > </td>
- <td height="21" align="center" ><div align="center" class="style3">密 码:</div></td>
- <td height="21" align="center" class="style4" ><div align="left">
- <input type="password" name="password" />
- </div></td>
- </tr>
- <tr>
- <td height="23" colspan="3" align="center" class="style4" >
- <input type="submit" name="tijiao" value="提交">
-
- <input type="reset" name="Submit2" value="重置" /></td>
- </tr>
- <tr>
- <td height="21" colspan="3" class="style4" >
- <div align="center">
- <%
- // response.getCharacterEncoding();
-
- String msg=str.unicodeStr((String)request.getAttribute("error"));
- //msg=str.Chinese(msg);
- msg=str.chStr(msg);
-
-
- if(msg!=null){
- %>
- <span class="style5"><%=msg%></span></div></td>
- <%}
- request.removeAttribute("error");%>
- </tr>
- </form>
- </table>
- </body>
- </html>