$.ajax({
cache: false,
url: '${pageContext.request.contextPath}/signIn',
type: 'POST',
data:$('#login_form').serialize(),
async: false,
//dataType: 'json',
error: function(request) {
alert('发送请求失败!');
},
success: function (data) {
alert("777");
window.location.href="${pageContext.request.contextPath}/index";
}
});
能够弹出777却不能执行重定向,确定不是重定向的问题