更改 Tomcat 'Directory Listing For' method

修改配置文件: %Catalina%/conf/web.xml

找到:   default
           org.apache.catalina.servlets.DefaultServlet
          
           debug
           0
          

          
           listings
           true
          

           1
          

default: true   // display the Directory Listing for

              false   // disable

你可能感兴趣的:(Tomcat)