40b992453952001d1ff5bccdca24d2c1

来自「酒店预订系统具有登录」· 代码 · 共 55 行

TXT
55
字号
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
 <script language="javascript">
  function on_submit(){
  
	  //name
	  if(form1.name.value==""){
	  alert("Enter your name please !");
	  form1.name.focus();
	  return false;
	  }
	   if(form1.password.value==""){
	  alert("Enter your password please !");
	  form1.password.focus();
	  return false;
	  }
	}
	</script>
<style type="text/css">
<!--
.style2 {font-size: 18px}
-->
</style>
</head>
 <form name="form1" id="form1" method="post" action="denglu.jsp">
<body>
<table width="320" height="195" border="1" background="file:///F|/&#20250;&#35758;&#31649;&#29702;&#65288;J2EE&#35838;&#35774;&#65289;/meet1/WebRoot/index1.jpg">
  <tr>
    <td><span class="style2">用户名:</span></td>
    <td><input type="text" name="textfield"></td>
  </tr>
  <tr>
    <td height="68"><span class="style2">密码:    </span></td>
    <td><input type="password" name="password"></td>
  </tr>
  <tr>
    <td colspan="2"><div align="center" class="style2">
      <input type="submit" name="Submit" value="确定">
    </div></td>
  </tr>
</table>
</body>
</form>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?