[ http://mc4j.org/jira/browse/STS-319?page=comments#action_10585 ] Andrew Zielinski commented on STS-319: --------------------------------------
This may explain the peculiar behaviour I experience after a RedirectResolution, which I have put in flash scope, to an action. Occasionally, well probably more than occasionally, the following would return null: getRequest().getSession() > Request and response objects should be released when using flash scope > ---------------------------------------------------------------------- > > Key: STS-319 > URL: http://mc4j.org/jira/browse/STS-319 > Project: Stripes > Issue Type: Bug > Components: Context Management > Affects Versions: Release 1.4.2 > Reporter: Ben Gunter > Assigned To: Tim Fennell > > According to servlet spec 2.4, code should not use a request or response > object outside the scope of a servlet's service method or filter's doFilter > method. When an ActionBean is flashed, its ActionBeanContext holds a > reference to the request and response it was assigned when the context was > created and does not release that reference until the bean expires from the > flash scope. This causes intermittent failures in code that uses the flash > scope to flash ActionBeans. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://mc4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Stripes-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-development
