35 lines
808 B
Plaintext
35 lines
808 B
Plaintext
|
|
<%@ 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>
|