From ac6f18b3d49e50fc8735c931a6f2c9b5f85c608b Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Fri, 31 Jul 2009 03:03:57 +0000 Subject: [PATCH] unpack WEB-INF git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@610 7e9141cc-0065-0410-87d8-b60c137991c4 --- .../main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java index 30f1f3a1f88..ba3ef83e7b3 100644 --- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java +++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java @@ -445,7 +445,7 @@ public class WebInfConfiguration implements Configuration extractedWebInfDir.delete(); extractedWebInfDir.mkdir(); Log.info("Extract " + web_inf + " to " + extractedWebInfDir); - JarResource.extract(web_app, extractedWebInfDir, false); + JarResource.extract(web_inf, extractedWebInfDir, false); web_inf=Resource.newResource(extractedWebInfDir.toURL()); ResourceCollection rc = new ResourceCollection(new Resource[]{web_inf,web_app}); context.setBaseResource(rc);