tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julio Serje (" <>
Subject Re: How to disable directory listing in Tomcat?
Date Sun, 26 Nov 2000 16:15:33 GMT
Hi, Joseph,

You can:

a) create an index.jsp page for your directory, or
b) create (or edit, if you have it already...) a web.xml file for your
webapp and alter the <welcome-file-list> section:


         <!-- add this to enable abc as your welcome page -->



----- Original Message -----
From: Joseph Wong <>
To: <>
Sent: Sunday, November 26, 2000 10:30 AM
Subject: How to disable directory listing in Tomcat?

> I used Tomcat and Apache to run jsp where I mapped /jsp to Tomcat to
> jsp program, so I can call abc.jsp by http://ip-address/jsp/abc.jsp
> browser.
> However, when I call http://ip-address/jsp/ through browser, a list of jsp
> programs under /jsp dirctory were listed. How to disable this feature???
> Joseph.
> Get more from the Web.  FREE MSN Explorer download :

View raw message