Hi,
I want to disable directory listing, I am using jetty 4.2.14 as my web container, just looking for a property to be configured in my web.xml which would restrict directory browsing.
I am tried this congiguration:-
<
servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.mortbay.jetty.servlet.Default</servlet-class>
<init-param>
<param-name>dirAllowed</param-name>
<param-value>false</param-value>
</init-param>
</servlet>
but failed.....
It gives this exception while starting the server:
(Partial trace)
org.mortbay.util.MultiException[javax.servlet.UnavailableException: Configuration problem]
Any input is highly appreciated