unpack WEB-INF
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@610 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
e6b43daf54
commit
ac6f18b3d4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue