Issue 82 in rapid-framework: java.lang.IllegalStateException: Cannot create a session after the response has been committed

14 views
Skip to first unread message

rapid-f...@googlecode.com

unread,
Aug 11, 2011, 6:05:26 AM8/11/11
to rapid-f...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 82 by v64...@gmail.com: java.lang.IllegalStateException: Cannot
create a session after the response has been committed
http://code.google.com/p/rapid-framework/issues/detail?id=82

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);
}
}


Reply all
Reply to author
Forward
0 new messages