struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r827757 - /struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/runtime/JspApplicationContextImpl.java
Date Tue, 20 Oct 2009 18:12:08 GMT
Author: musachy
Date: Tue Oct 20 18:12:08 2009
New Revision: 827757

URL: http://svn.apache.org/viewvc?rev=827757&view=rev
Log:
make key depend on context loader, so they don't get shared between apps

Modified:
    struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/runtime/JspApplicationContextImpl.java

Modified: struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/runtime/JspApplicationContextImpl.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/runtime/JspApplicationContextImpl.java?rev=827757&r1=827756&r2=827757&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/runtime/JspApplicationContextImpl.java
(original)
+++ struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/runtime/JspApplicationContextImpl.java
Tue Oct 20 18:12:08 2009
@@ -46,7 +46,7 @@
  */
 public class JspApplicationContextImpl implements JspApplicationContext {
 
-	private final static String KEY = JspApplicationContextImpl.class.getName();
+	private final static String KEY = JspApplicationContextImpl.class.getName() + "@" + JspApplicationContextImpl.class.getClassLoader().hashCode();
 
 	private final static ExpressionFactory expressionFactory = new ExpressionFactoryImpl();
 



Mime
View raw message