List Files in a Java Web App

Put this into your web.xml and override so the default servlet configuration declared by every Servlet Container (Tomcat, Jetty, GlassFish):

            <!--boolean paramter to allow directory traversal-->
            <!--this parameter name depends on the specific servlet container implementation-->

            <!--valid for Jetty, Tomcat uses a different parameter-->
        <!--folder name in the "webapp" folder-->


Popular posts from this blog

Tuning ext4 for performance with emphasis on SSD usage

How to fix: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu