?? login.jsp
字號:
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>login</title>
<script type="javaScript">
function submitForm()
{
if(document.form1.userName.value=="")
{
alert("請輸入用戶名");
document.form1.userName.focus();
return false;
}else if(document.form1.userPwd.value=="")
{
alert("請輸入密碼");
document.form1.userPwd.focus();
return false;
}else
{
return true;
}
}
</script>
</head>
<body bgcolor="#ffffff">
<center>
<h1>GTON音樂CD管理系統(tǒng)登陸頁面</h1>
<form name="form1" method="post" action="checkservlet">
<br>
<br>
<table align="center">
<tr>
<td>用戶名</td>
<td>
<input type="text" name="userName"/>
</td>
</tr>
<tr>
<td>密碼</td>
<td>
<input type="password" name="userPwd"/>
</td>
</tr>
<tr>
<td> </td>
<td>
<input type="submit" onclick="submitForm()" name="Submit" value="登陸">
<input type="reset" value="重置">
<input type="button" value="注冊" onclick="javascript:window.open('reg.jsp','jszx','width=200,height=300,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');"/>
</td>
</tr>
</table>
<br/>
<font color="red">作者:GTON QQ:27612285</font>
<br/>
<font color="red">運用的相關技術:jsp2.0+javaBean+servlet2.4+jstl1.1+el+sqlserver+jbuider2006+tomcat5</font>
<br/>
<font color="red">日期:2005年12月26日</font>
<br/>
</form>
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -