Author: norman.richards(a)jboss.com
Date: 2009-06-20 16:43:43 -0400 (Sat, 20 Jun 2009)
New Revision: 11182
Modified:
tags/JBoss_Seam_2_2_0_CR1/src/main/org/jboss/seam/core/ResourceLoader.java
Log:
JBSEAM-4258
Modified: tags/JBoss_Seam_2_2_0_CR1/src/main/org/jboss/seam/core/ResourceLoader.java
===================================================================
--- tags/JBoss_Seam_2_2_0_CR1/src/main/org/jboss/seam/core/ResourceLoader.java 2009-06-20
20:43:12 UTC (rev 11181)
+++ tags/JBoss_Seam_2_2_0_CR1/src/main/org/jboss/seam/core/ResourceLoader.java 2009-06-20
20:43:43 UTC (rev 11182)
@@ -52,12 +52,12 @@
public InputStream getResourceAsStream(String resource)
{
- return Resources.getResourceAsStream( resource,
ServletLifecycle.getCurrentServletContext() );
+ return Resources.getResourceAsStream( resource,
ServletLifecycle.getServletContext() );
}
public URL getResource(String resource)
{
- return Resources.getResource( resource, ServletLifecycle.getCurrentServletContext()
);
+ return Resources.getResource( resource, ServletLifecycle.getServletContext() );
}
/**
Show replies by date