Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalStateException: Cannot create a session after the response has been committed #82

Open
GoogleCodeExporter opened this issue Mar 28, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant