1 of 1 people found this helpful
Not sure but the jboss-as-web_1_2.xsd speaks of
<xs:attribute name="listings" default="false" type="xs:boolean" />
check out the xsd for details
Try running the following CLI command to enable diectory listing:
In Domain Mode
In Standalone Mode
It will generate following kind of configuration :
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<virtual-server name="default-host" enable-welcome-root="true">
And next time, do yourself a favor and don't promise your customer tight deadlines when there are many unknown factors (new tech etc) ;-)
Thank you, it worked as you explained! However, I still can't get the actual listing to work, and this time I suspect it has something to do with Spring being involved in mapping to static resources. Anyway, if you want, you could give a hint on best practices regarding serving static non-common (i.e. app specific) content and how to make it available through directory listings.
Currently I use Spring's:
<mvc:resources mapping="/res/**" location="/public-resources/" />
Mybe that's not the way to go?
By the way, while I'm personally not in critical need of this explanation anymore, it might be useful for somebody someday.
Thank you for your answer!
I know what you mean regarding the deadline ("been there, done that", so to say), but this time it's a course... and the teacher sets the deadlines!