java.lang.IllegalStateException: Cannot create a session after the response has been committed
Opened this issue · 0 comments
GoogleCodeExporter commented
rapid版本:3.9.3
使用的相关插件组合是:
按如下步骤重现错误:
1.request.getSession().invalidate()
期待的结果是:
java的error stack trace:
java.lang.IllegalStateException: Cannot create a session after the response has
been committed
其它错误信息:
修改:
cn.org.rapid_framework.web.scope.Flash
public void save(HttpServletRequest request,HttpServletResponse response) {
if(request.isRequestedSessionIdValid()){
request.getSession().setAttribute(FLASH_IN_SESSION_KEY, out);
}
}
Original issue reported on code.google.com by v64...@gmail.com
on 11 Aug 2011 at 10:05