Metawerx Java Hosting Small Logo

Tomcat's Directory Listings Feature

This is a page that shows when the URL points to a folder instead of a file, and when no welcome-files can be found in the folder (eg: index.jsp and index.html don't exist).

The directory listing page lists all files in the folder, along with their size and last modified date. Here is an example screenshot: http://www.metawerx.net/images/screenshots/tomcat_directory_listing.png

This is useful for sites that allow browsing of one or more folders, such as file download archives.

Directory listings can be enabled or disabled in the system-wide <jakarta>/conf/web.xml file, and is usually disabled for security reasons. See Risks of Enabling Directory Listings for more information.

The feature can also be set on a per-application basis using an override in web.xml. See Enabling or Disabling Directory Listings using web.xml for more information.

navigation
metawerx specific
search
Share
tools
help

referring pages

Share