Tag: committed预览模式: 普通 | 列表
08-01
17

Cannot forward after response has been committed

这个是错误是由于response多次提交引起的,错误代码:
new JSforForwardBean().MyForward(response,"contorl_news.do", Msg);
log.info("批处理完成");
return new ActionForward("/manager/news/shownews.jsp");


MyForward中已经执行了跳转。
之后的return请求依旧是跳转,但程序并不执行,控制台抛错!

查看更多...

Tags: forward committed

分类:Struts | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 2018