how to enable and disable web directory listing on your web server

directory listing configuration in web.xml

The web server that you use to host your website has not only the ability to render and display web pages but also the ability to display directories and it content. This feature is also referred to as the directory listing of the server. To be honest, there is usually never a reason to enable the directory listing for a…