Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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...

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.