I have spring boot application and i'm using embedded tomcat as web server.
I have problem with listing directories.
I want to now how could i enable or disable listing directories in embedded tomcat.
In none spring boot application we can do it adding code below in web.xml:
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
how can i Enable/disable directory listing in spring boot?
I have found only question below in stackoverflow but didnt help.
Embedded Tomcat directory listing for spring-boot application
war- Hadi Rasouli