//nextpage 为弹出alert后跳转的页面
String nextpage = "_manage.jsp";
StringBuffer result = new StringBuffer("<script>");
result.append("alert(/"操作成功!/");");
result.append("window.location.href='" + nextpage + "';");
result.append("</script>");
out.println(result.toString());
最后
以上就是激情悟空最近收集整理的关于在jsp代码中弹出alert令一种写法的全部内容,更多相关在jsp代码中弹出alert令一种写法内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复