I know that for security reason directory browsing is disallowed but for
dev would be great if we had default in express edition allowing directory
browsing or at least add the instruction in web.xml.
Changes in Tomcat since 6 meant that any file call will be routed to
default servlet and even if you try to allow directory listing ( setting to
So quick solution would be to edit web.xml
<servlet-mapping> <servlet-name>default</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping>
replace it with
<servlet-mapping> <servlet-name>FileServlet</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping>
Credit goes to Sean Corfield:
So why we don’t add it to lucee setup? And even in production as comment?