In Tomcat's web.xml, under defaultServlet, change listings to false. It will disable listings for all of the webapps.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: June 8, 2003 7:02 PM To: [EMAIL PROTECTED] Subject: Newbie Q:How to prevent Directory listing in Tomcat? How can I prevent a client from listing the contents of my web appl. directories without having to put an 'index.html' in the base of each directory? Thanks. Bob. P.s.: I can find any solution(s) in the Tomcat-user archive: