View | Details | Raw Unified | Return to bug 53783
Collapse All | Expand All

(-)java/org/apache/catalina/startup/ContextConfig.java (-2 / +9 lines)
Lines 1684-1691 Link Here
1684
                // Note: Ignore file URLs for now since only jar URLs will be accepted
1684
                // Note: Ignore file URLs for now since only jar URLs will be accepted
1685
                if ("jar".equals(url.getProtocol())) {
1685
                if ("jar".equals(url.getProtocol())) {
1686
                    jar = JarFactory.newInstance(url);
1686
                    jar = JarFactory.newInstance(url);
1687
                    if (jar.entryExists("META-INF/resources/")) {
1687
                    jar.nextEntry();
1688
                        context.addResourceJarUrl(url);
1688
                    String entryName = jar.getEntryName();
1689
                    while (entryName != null) {
1690
                        if (entryName.startsWith("META-INF/resources/")) {
1691
                            context.addResourceJarUrl(url);
1692
                            break;
1693
                        }
1694
                        jar.nextEntry();
1695
                        entryName = jar.getEntryName();
1689
                    }
1696
                    }
1690
                } else if ("file".equals(url.getProtocol())) {
1697
                } else if ("file".equals(url.getProtocol())) {
1691
                    FileDirContext fileDirContext = new FileDirContext();
1698
                    FileDirContext fileDirContext = new FileDirContext();

Return to bug 53783