build/artifacts/HotelTest_war_exploded/WEB-INF/jsp/sys/login.jsp

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${ctx}/css/sys/login.css" rel="stylesheet" type="text/css" />

<style type="text/css">
input:-internal-autofill-previewed,
input:-internal-autofill-selected {
  -webkit-text-fill-color: black !important;
  transition: background-color 5000s ease-in-out 0s !important;
}


</style>
<script type="text/javascript">
if(window.location != parent.window.location){
	   //将当前页面作为最顶级页面
	   parent.window.location = window.location;
	   
}

//在页面完成加载时调用
window.onload = function(){
	document.getElementById("loginname").focus();
	document.onkeydown = function(){
		// firefox没有window.event对象
		var event = arguments[0] ? arguments[0] : window.event;
		if (event.keyCode === 13){
			submitTable();
		}
	};
};

function submitTable(){
	//验证用户名和密码是否输入
	var loginname = document.getElementById("loginname").value;
	if(loginname == null || loginname == "" || loginname.length == 0){
		$("#message").html("请输入用户名!");
		document.getElementById("loginname").focus;
		return false;
	} 
	var password = document.getElementById("password").value;
	if(password == null || password == "" || password.length == 0){
		$("#message").html("请输入密码!");
		document.getElementById("password").focus;
		return false;
	} 
	document.getElementById("loginform").submit();

}
</script>
</head>

<body style="background-color: rgb(232, 240, 254)">
 	
后面还有 28 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。