后台action处理使页面弹出提示框
PrintWriter out=null;
try {
//设置回发内容编码
ServletActionContext.getResponse().setContentType("text/html;charset=utf-8");
out = ServletActionContext.getResponse().getWriter();
} catch (IOException e) {
e.printStackTrace();
}
out.print("alert('请先删除下级数据!');history.go(-1);");
return null;