first commit
This commit is contained in:
35
WebRoot/index.jsp
Normal file
35
WebRoot/index.jsp
Normal file
@ -0,0 +1,35 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String contextPath = request.getContextPath();
|
||||
%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
|
||||
<%--<jsp:include page="jsp/inc.jsp"></jsp:include>--%>
|
||||
|
||||
<%
|
||||
request.getRequestDispatcher("/Login/login.do").forward(request, response);
|
||||
%>
|
||||
<script>
|
||||
|
||||
|
||||
/* $(function() {
|
||||
//init();
|
||||
var url=ext.contextPath+"/j_spring_security_check"
|
||||
console.log('SAAA',url);
|
||||
//alert($("form").serialize())
|
||||
$.post(url , {j_username:'admin',j_password:'123456'}, function(result) {
|
||||
alert(result);
|
||||
if (result==true) {
|
||||
location.replace(ext.contextPath);
|
||||
} else {
|
||||
}
|
||||
},'json');
|
||||
}); */
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
</html>
|
||||
Reference in New Issue
Block a user