tomcat serving static content with directory listings
- by milan
I have tomcat 7 configured to serve static contents from a directory:
<Host appBase="webapps" name="localhost">
...
<Context docBase="/var/projectA/static" path="/projectA/" />
</Host>
This is available at localhost:8080/projectA/. Is it possible to somehow enable directory listings for this context?
I know it's possible to do this with apache in front of tomcat, but that's not what I'm looking for.
p.s. there's no 'tomcat' tag and my rep doesn't allow me to create tags...