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

(-)java/org/apache/naming/resources/FileDirContext.java (-1 / +1 lines)
Lines 872-878 Link Here
872
            Object object = null;
872
            Object object = null;
873
            if (currentFile.isDirectory()) {
873
            if (currentFile.isDirectory()) {
874
                FileDirContext tempContext = new FileDirContext(env);
874
                FileDirContext tempContext = new FileDirContext(env);
875
                tempContext.setDocBase(file.getPath());
875
                tempContext.setDocBase(currentFile.getPath());
876
                tempContext.setAllowLinking(getAllowLinking());
876
                tempContext.setAllowLinking(getAllowLinking());
877
                object = tempContext;
877
                object = tempContext;
878
            } else {
878
            } else {

Return to bug 53800