Github user GodIsDevil commented on the issue:
https://github.com/apache/tomcat/pull/109
In the old version of Tomcat (7.0, 8.0), you used URLConnection to read all
files or directories. I do not quite understand why the high version of Tomcat
can not read the directory through
GitHub user GodIsDevil opened a pull request:
https://github.com/apache/tomcat/pull/109
fix: file resource read dir inputStream
FileResource can't read the inputStream of directory.FileInputStream is
appropriate to read a file but not a directory.
You can merge this pull re