Details
Description
ICEfaces keeps a reference to the initial (page) request in the ExternalContext to simulate a long lived request. Once the page is served though, the initial request becomes stale. Because Tomcat is reusing the requests, the stale request is recycled and assigned to another thread of execution. When this happens the request from the first thread of execution will crossover to the second one. The result is that both threads of execution are able to modify the state of the same request instance.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15145 | Fri Nov 09 14:55:57 MST 2007 | mircea.toma | Introduce RequestAttributes abstraction. Request attributes can be modified only during request/response process. |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/env/ServletEnvironmentRequest.java
ADD /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/RequestAttributes.java MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/context/BridgeExternalContext.java MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/context/View.java MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15144 | Fri Nov 09 14:47:54 MST 2007 | mircea.toma | Use JDK 1.4 API. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15143 | Fri Nov 09 14:34:28 MST 2007 | mircea.toma | Introduce RequestAttributes abstraction so that request attributes can be modified only during request/response process. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeExternalContext.java
MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/env/ServletEnvironmentRequest.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/View.java ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/RequestAttributes.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15141 | Fri Nov 09 10:54:34 MST 2007 | mircea.toma | Use the active HttpServletRequest when modifying the attributes. |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/env/ServletEnvironmentRequest.java
MODIFY /icefaces/branches/icefaces-1.6/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15140 | Thu Nov 08 18:20:24 MST 2007 | mircea.toma | Use the active HttpServletRequest when modifying the attributes. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java
MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/env/ServletEnvironmentRequest.java |