如果是是ajax ,无法用response.sendRedirect跟request.getRequestDispatcher
来跳转页面,只能用
out.flush();
out.close();
在ajax的回调中 设置跳转路径
window.location.href="#";
如果是是ajax ,无法用response.sendRedirect跟request.getRequestDispatcher
来跳转页面,只能用
out.flush();
out.close();
在ajax的回调中 设置跳转路径
window.location.href="#";