How do you stop directory listings in JBoss?
When the http requests maps to a physical directory location within a deployed war file, the contents of that directory are listed in the response. How can this default behavior be stopped, so that a 'resource not found' or other similar exception is thrown.
On tomcat the following entry in web.xml should work.
<init-param> <param-name>listings</param-name> <param-value>false</param-value> </init-param>
Apologies, I have posted this in the wrong forum, I have reposted in 'Installation, Configuration & Deployment'.