Hi guys,

upgrading tomee to tomcat 8.5.6 I noticed request.getServletContext().
getResourceAsStream(path) now returns an empty stream for / (or an existing
folder probably). Not sure it is expected or unintended.

Reading the spec it is not that clear to me since the folder is an existing
resource but not really a webresource so not it should be considered as a
resource and therefore having a stream (which doesn't mean much for a

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory

Reply via email to