Lines 68-73
Link Here
|
68 |
import org.apache.catalina.util.URLEncoder; |
68 |
import org.apache.catalina.util.URLEncoder; |
69 |
import org.apache.naming.resources.CacheEntry; |
69 |
import org.apache.naming.resources.CacheEntry; |
70 |
import org.apache.naming.resources.ProxyDirContext; |
70 |
import org.apache.naming.resources.ProxyDirContext; |
|
|
71 |
import org.apache.naming.resources.FileDirContext; |
71 |
import org.apache.naming.resources.Resource; |
72 |
import org.apache.naming.resources.Resource; |
72 |
import org.apache.naming.resources.ResourceAttributes; |
73 |
import org.apache.naming.resources.ResourceAttributes; |
73 |
import org.apache.tomcat.util.res.StringManager; |
74 |
import org.apache.tomcat.util.res.StringManager; |
Lines 1452-1458
Link Here
|
1452 |
|
1453 |
|
1453 |
// Render the directory entries within this directory |
1454 |
// Render the directory entries within this directory |
1454 |
NamingEnumeration<NameClassPair> enumeration = |
1455 |
NamingEnumeration<NameClassPair> enumeration = |
1455 |
resources.list(cacheEntry.name); |
1456 |
((FileDirContext) cacheEntry.context).list("."); |
1456 |
boolean shade = false; |
1457 |
boolean shade = false; |
1457 |
while (enumeration.hasMoreElements()) { |
1458 |
while (enumeration.hasMoreElements()) { |
1458 |
|
1459 |
|