Author: swd847
Date: 2010-03-09 15:01:23 -0500 (Tue, 09 Mar 2010)
New Revision: 12152
Modified:
branches/community/Seam_2_2/src/main/org/jboss/seam/servlet/ContextualHttpServletRequest.java
Log:
JBSEAM-4590
Modified:
branches/community/Seam_2_2/src/main/org/jboss/seam/servlet/ContextualHttpServletRequest.java
===================================================================
---
branches/community/Seam_2_2/src/main/org/jboss/seam/servlet/ContextualHttpServletRequest.java 2010-03-09
19:51:37 UTC (rev 12151)
+++
branches/community/Seam_2_2/src/main/org/jboss/seam/servlet/ContextualHttpServletRequest.java 2010-03-09
20:01:23 UTC (rev 12152)
@@ -35,6 +35,11 @@
public void run() throws ServletException, IOException
{
log.debug("beginning request");
+ // Force creation of the session
+ if (request.getSession(false) == null)
+ {
+ request.getSession(true);
+ }
ServletLifecycle.beginRequest(request);
ServletContexts.instance().setRequest(request);
restoreConversationId();
@@ -42,12 +47,8 @@
ServletLifecycle.resumeConversation(request);
handleConversationPropagation();
- // Force creation of the session
- if (request.getSession(false) == null)
- {
- request.getSession(true);
- }
+
try
{
process();
Show replies by date