Have a look at the DefaultServlet in web.xml.
It has an entry like this:

<init-param>
  <param-name>listings</param-name>
  <param-value>true</param-value>
</init-param>

Change true to false.

(Also have a look at the welcome-file-list in web.xml)

Ralph Einfeldt
Uptime Internet Solution Center GmbH
Hamburg, Germany
Hosting, Content Management, Java Consulting
http://www.uptime-isc.de 

> -----Urspr�ngliche Nachricht-----
> Von: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 31. Juli 2002 12:25
> An: [EMAIL PROTECTED]
> Betreff: Suppression of directory listing in Tomcat
> 
> 
> Hi - I just posted some hours ago.
> Could anybody give me a hint for my problem please: how do I have to 
> configure server.xml or whatever to tell Tomcat that it 
> should not show the complete directory to the user in case there 
> is no index.html or something like that in the directory?
> I know how to handle that with Apache but the htdocs directory has 
> nothing to do with Tomcats webapps. Therefore, there has to 
> be another solution.
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to