js中打开一个新窗口的方法:
1.window.location.href=“url”
2.jbox.win();
3.window.open();
js无任何提示的关闭弹出的页面:
window.opener=null;
window.open('','_self');
window.close();
在servlet中,进行页面弹出提示,然后自动关闭:
out.println("<script>alert('提示的内容');window.close();</script>");