?? login.jsp
字號(hào):
<%@ page contentType="text/html; charset=gb2312" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
login
</title>
</head>
<Script language="javascript">
function check()
{
if(form1.name.value=="")
{
alert("請(qǐng)輸入用戶名!!");
form1.name.focus();
form1.password.value="";
return false;
}
if(form1.password.value=="")
{
alert("請(qǐng)輸入密碼!!!");
form1.password.focus();
return false;
}
}
function goback()
{
window.location.href="/logistics/index.jsp";
}
</Script>
<body bgcolor="#ffffff">
<center>
<form name="form1" action="/logistics/login_config.jsp" method="post">
<table width="35%" height="260" border="0" cellpadding="0" cellspacing="0" background="image/login.gif">
<tr>
<td height="181"> </td>
</tr>
<tr>
<td height="38" align="center"> 用戶名:
<input type="text" name="name" size="10" maxlength="20">
密碼:
<input type="password" name="password" size="12" maxlength="20"></td>
</tr>
<tr>
<td height="33" align="center" valign="top">
<input type="submit" value="登錄" name="login" onClick="return check()">
<input type="button" value="返回主頁" name="back" onClick="goback()">
<a href="/logistics/register.jsp">注冊(cè)</a> <a href="/logistics/found.jsp">忘密</a>
</p></td>
</tr>
</table>
</form>
</center>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -