?? login.jsp
字號:
<%@page contentType="text/html;charset=GB2312"
import="com.x3408.office.Constants"%>
<html>
<head>
<title>x3408輔助辦公系統</title>
<%
if(session.getAttribute("passed")!=null){
response.sendRedirect(Constants.C_INDEX_JSP);
}
String passed = (String) (request.getAttribute("passed"));
String msg=null;
if ("false".equals(passed)) {
msg="用戶名或密碼錯誤";
} else if ("wrong".equals(passed)) {
msg="請你登錄后再訪問該頁";
} else if ("null".equals(passed)) {
msg="注意:請你正確輸入用戶名和密碼";
}
if(msg!=null){
%>
<script type="text/javascript">alert("<%=msg%>");</script>
<%} %>
</head>
<body>
<form action="<%=Constants.C_LOGIN_JAVA%>" method="post">
<table width="803" height="530" border="0" align=center background="/OfficeSystem/Login/Images/BG.jpg">
<tr>
<td width="800" height="400" colspan=5>
</td>
</tr>
<tr style="font-size: 15px;">
<td height="50" width=200>
</td>
<td width="150">
用戶名: <input type="text" size=10 name="employeeID" value="000001" />
</td>
<td width="150" align=right>
密 碼: <input type="password" size=10 name="password" value="123456" />
<td width="150" align="center" valign="middle">
<input type="submit" name="logon" value="登陸"> <input type="reset" name="login" value="取消">
</td>
<td width="150" align="center">
</td>
</tr>
<tr>
<td colspan="5">
</td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -