WebRoot/login.jsp

(开头部分) 4KB

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

<%@ 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 {
	COLOR: #000000
}
</STYLE>
<LINK href="/papermessage/css/style.css" 
type=text/css rel=stylesheet>
<script type="text/javascript">
function check()
{
	if(document.form1.name.value=="")
	{
	alert("用户名不能为空");
	form1.name.focus();
		return false;
	}

}
</script>
  </head>
  <%
  String name = "";
  String pwd = "";
  String logo = "";
  
  try{
  
  //得到cookie
	Cookie[] cookies = request.getCookies();
	if( cookies != null){
		for(Cookie theCookie : cookies){
			if(theCookie.getName().equals("IDCOOKIE")){
				name = theCookie.getValue();
			}
			if(theCookie.getName().equals("PWDCOOKIE")){
				pwd = theCookie.getValue();
			}
			if(theCookie.getName().equals("LOGOCOOKIE")){
				logo = theCookie.getValue();
			}
			
		}
	}
	
	
	 if(request.getAttribute("oldname") != null)
      	name = request.getAttribute("oldname").toString();
      	
   %>
  <body  leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="form1.name.focus();">
  <br><br><br><br>
    <form name="form1" method="post" action="/papermessage/LoginServlet" onsubmit="return check()">
    
    <table width=800  border="0" align="center">
后面还有 83 行代码,购买后查看完整代码

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

AI 解读 AI

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

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