WebRoot/yonghulogin.jsp

(开头部分) 3KB

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

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>畅通租车网</title>
<link rel="stylesheet" type="text/css" href="<%=path %>/css/style.css">
<script src="<%=path %>/js/jquery-1.8.3.min.js"></script>
<script src="<%=path %>/js/jquery.luara.0.0.1.min.js"></script>
 <script type='text/javascript' src='<%=path %>/dwr/interface/loginService.js'></script>
 <script type='text/javascript' src='<%=path %>/dwr/engine.js'></script>
 <script type='text/javascript' src='<%=path %>/dwr/util.js'></script>
<script type="text/javascript">

		    function yonghulogin()
		    {   
		        if(document.form.username.value=="")
		        {
		            alert("请输入登录帐号");
		            return false;
		        }
		        if(document.form.password.value=="")
		        {
		            alert("请输入登录密码");
		            return false;
		        }
		       loginService.login(document.form.username.value,document.form.password.value,1,callback);
		    }
		 function callback(data)
          {
			  if(data=="no")
			    {
			        alert("登录账号或密码错误");
			    }
			    if(data=="yes")
			    {
             alert("通过验证,系统登录成功");
              window.location.href="<%=path %>/index";
			    }
           }

    </script>
</head>
  <body>
<div class="width100">
		<div class="width1200 center_yh hidden_yh" style="height:120px">
<a href="<%=path%>/index" class="left_yh"><img src="<%=path%>/images/logo.jpg" style="height:100px;width:300px"></a>
        <a href="<%=path %>/yonghuzhuce.jsp" class="right_yh font16 c_33" style="line-height:181px;">还没有账号,<font class="red">马上去注册></font></a>
    </div>
</div>
后面还有 24 行代码,购买后查看完整代码

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

AI 解读 AI

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

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