WebRoot/WEB-INF/jsp/login.jsp
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>会员登录</title>
<link href="${pageContext.request.contextPath}/css/common.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/css/login.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function checkUsername() {
var username = document.getElementById("username").value;
/* 针对中文编码 */
/* ajax如果提交post请求的话可以直接进行设置编码 如果是get请求可以在浏览器端进行加密处理 然后在服务器端进行解密 */
/* var username = encodeURIComponent(encodeURIComponent(name)); */
var xmlHttp = creatXMLHttpreauest();
/* xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); */
xmlHttp.open("GET",
"${pageContext.request.contextPath}/loginFindByid.action?username="
+ username, true);
xmlHttp.send(null);
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
document.getElementById("span1").innerHTML = xmlHttp.responseText;
}
}
}
function creatXMLHttpreauest() {
try {
return new XMLHttpRequest();
} catch (e) {
try {
return ActiveXObject("Msxml2.XMLHttp");
} catch (e) {
try {
return ActiveXObject("micoresoftxml2.XMLHttp");
} catch (e) {
throw e;
}
}
}
}
function change(){
var img = document.getElementById("checkImg");
img.src="${pageContext.request.contextPath}/checkImg.action?"+new Date();
}
</script>
</head>
<body>
<div class="container header">
<div class="span5">
<div class="logo">
<a href="http://localhost:8080/shop/"> <img
src="${pageContext.request.contextPath}/image/r___________renleipic_01/logo.png" alt="">
</a>
</div>
</div>
<div class="span9">
<div class="headerAd">
后面还有 95 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
