window.location.href='<%=request.getContextPath()%>/patientCenter/main'; 在js中的使用方式,單引號直接添加controller請求路徑,意爲在當前窗口(頁面)打開請求的頁面
window.location.reload; 刷新當前頁面
window.location.href='<%=request.getContextPath()%>/patientCenter/main'; 在js中的使用方式,單引號直接添加controller請求路徑,意爲在當前窗口(頁面)打開請求的頁面
window.location.reload; 刷新當前頁面