Author: nickarls
Date: 2009-03-07 18:09:02 -0500 (Sat, 07 Mar 2009)
New Revision: 1811
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/servlet/ConversationPropagationFilter.java
Log:
WBRI-164
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/servlet/ConversationPropagationFilter.java
===================================================================
---
ri/trunk/impl/src/main/java/org/jboss/webbeans/servlet/ConversationPropagationFilter.java 2009-03-07
22:19:27 UTC (rev 1810)
+++
ri/trunk/impl/src/main/java/org/jboss/webbeans/servlet/ConversationPropagationFilter.java 2009-03-07
23:09:02 UTC (rev 1811)
@@ -79,6 +79,14 @@
{
String requestPath = context.getExternalContext().getRequestContextPath();
URL = URL.substring(URL.indexOf(requestPath) + requestPath.length());
+ }
+ else
+ {
+ int lastSlash = URL.lastIndexOf("/");
+ if (lastSlash > 0)
+ {
+ URL = URL.substring(lastSlash);
+ }
}
return this;
}
Show replies by date