WebRoot/qiantai/userlogin/userlogin.jsp

(开头部分) 3KB

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

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
	<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"/>
	
	<script type="text/javascript">
        function login()
	        {
	           if(document.userLogin.loginname.value=="")
	           {
	               alert("请输入账号");
	               return;
	           }
	           if(document.userLogin.loginpw.value=="")
	           {
	               alert("请输入密码");
	               return;
	           }
	           document.getElementById("indicator222").style.display="block";
	           loginService.login(document.userLogin.loginname.value,document.userLogin.loginpw.value,1,callback);
	        }
	        
	        function callback(data)
			{
			    document.getElementById("indicator222").style.display="none";
			    
			    if(data=="no")
			    {
			        alert("账号或密码错误");
			        //var url="<%=path %>/index.action";
			        //window.location.href=url;
			    }
			    if(data!="no")//返回的data就是用户的id
			    {
			        alert("通过验证,登录成功");
			        var url="<%=path %>/qiantai/default.jsp";
			        window.location.href=url;
			    }
			}
    </script>
    
  </head>
  
<body>
<div id="container">
	<div id="wrapper">
		<div id="header">
			<jsp:include flush="true" page="/qiantai/top.jsp"></jsp:include>
		</div>
		<div id="content">
			<!--左侧-->
后面还有 57 行代码,购买后查看完整代码

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

AI 解读 AI

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

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