
| Key: |
STS-319
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Ben Gunter
|
| Reporter: |
Ben Gunter
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
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.
|
|
Description
|
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. |
Show » |
|
|
getRequest().getSession()