Re: Issue with WebResource Caching

2018-05-18 Thread Jeremy Collins
> > > > Tomcat uses the same code for static and class loader resources but it > > is meant to distinguish between the two. However, it looks like there is > > a bug in Tomcat's resource handling that hides this resource once the > > static look-up fails. I need to dig into this some more. > > Yes,

Re: Issue with WebResource Caching

2018-05-18 Thread Mark Thomas
On 18/05/18 07:23, Mark Thomas wrote: > Tomcat uses the same code for static and class loader resources but it > is meant to distinguish between the two. However, it looks like there is > a bug in Tomcat's resource handling that hides this resource once the > static look-up fails. I need to dig

Re: Issue with WebResource Caching

2018-05-17 Thread Mark Thomas
On 17/05/2018 15:43, Jeremy Collins wrote: At this point we're unsure if this is an actual bug in Tomcat or an incorrect usage of getResourceAsStream(path) on our part so we're looking for advice. I think it is a bit of both. ServletContext.getResourceAsStream(path) won't normally return a