ITeye博客

后台action处理使页面弹出提示框

xu0213 · 2014-11-19 09:23 · 编程语言 · Markdown

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;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。