📄 index.jsp
字号:
<script language="javascript">
function mycheck(){
if(document.form1.username.value==""){
alert("用户名不能为空!!");
return;
}
else if(document.form1.password.value==""){
alert("请输入密码!!");
return;
}
document.form1.submit();
}
</script>
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>登陆内部办公网</title>
<style type="text/css">
<!--
.style1 {font-size: x-large}
.style3 {font-size: medium}
.style4 {font-size: small}
body {
background-color: #CCFF66;
}
-->
</style>
</head>
<body>
<form name="form1" method="post" action="logon.jsp">
<p> </p>
<p> </p>
<table width="1000" height="295" border="0" cellpadding="0" cellspacing="0">
<tr align="center" bgcolor="#FFFFFF">
<th height="71" colspan="2" valign="top" scope="col"><div align="center"><img src="image/11.jpg" width="728" height="79"></div></th>
</tr>
<tr>
<td width="601" height="101" align="right" valign="top" bgcolor="#FFFFFF"><div align="right"><img src="image/211.jpg" width="265" height="101"></div></td>
<td width="755" bgcolor="#FFFFFF"><img src="image/22.jpg" width="438" height="99"></td>
</tr>
<tr align="center" bgcolor="#66CC99">
<td height="121" colspan="2" valign="top" bgcolor="#FFFFFF"><p><img src="image/31.jpg" width="245" height="88"><img src="image/32.jpg" width="165" height="89"><img src="image/33.jpg" width="293" height="89"></p> </td>
</tr>
</table>
<table width="1000" height="60" border="0">
<tr>
<th bgcolor="#CCFF99" scope="col"><span class="style4">用户名:</span><span class="style3">
<input name="uid" type="text" id="username">
<span class="style4">密码:</span>
<input name="pwd" type="password" id="password" size="20">
</span></th>
</tr>
<tr>
<th bgcolor="#CCFF99" scope="col"><input type="button" name="Submit" value="登陆" onClick="mycheck()">
<input name="reset" type="reset" id="reset" value="重置"></th>
</tr>
</table>
<p> </p>
<p align="center" class="style1"> </p>
<p> </p>
<p> </p>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -