测试成功的方法是将代码写成:
window.location.href=window.location.href;
window.location.reload;
如果是刷新父窗口,则不能按上面的写,正确的写法如下:
window.opener.location.href=window.opener.location.href;
window.location.reload;上面的是google的
window.close();Redirect(jsp/sys/user_list.jsp);window.opener.location.reload();我自己的,多加了一个 Redirect(jsp/sys/user_list.jsp);