📄 port_user.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>WEB查分系统</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<style type="text/css">
<!--
.STYLE2 {
font-size: 14px;
font-weight: bold;
}
-->
</style>
</head>
<script language="javascript" type="text/javascript">
function validateForm(){
var p1 = document.getElementById("p1").value;
if(p1==""||p1==null){
alert("错误:端口号不能为空!");
return false;
}
}
</script>
<body>
<br/><br/>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" background="../image/user_bg.gif">
<!--DWLayoutTable-->
<tr>
<td width="186" height="247"> </td>
<td width="450"> </td>
<td width="114"> </td>
</tr>
<tr>
<td height="184"> </td>
<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="450" height="184"><form action="port.do?a=portLogin" method="post"><table width="445" height="76" border="0">
<tr>
<td width="115"><div align="center"><span class="STYLE2">端口号:</span></div></td>
<td width="320"><input type="text" name="port_number" id="p1" style="height:20; width:220"></td>
</tr>
<tr>
<td height="23"> </td>
<td><input type="submit" name="Submit" value="提交" onClick="return validateForm();">
<input type="reset" name="Submit2" value="重置"> <input name="" type="button" value="返回首页" onClick="window.location.href='../index.jsp'"> </td>
</tr>
</table>
</form></td>
</tr>
</table>
</td>
<td> </td>
</tr>
<tr>
<td height="69"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -