Mantis - Resin
Viewing Issue Advanced Details
6086 minor always 08-10-17 14:39 11-21-17 09:42
ferg  
ferg  
normal  
closed 4.0.53  
fixed  
none    
none 4.0.54  
0006086: getResource with META-INF/resources issue
(rep by Tamas)

The Servlet 3 specification indicates that files from {war}/WEB-INF/lib/{jar}/META-INF/resources should be served by the application server as if they were in present in the root of {war}. Specifically:

> The getResource and getResourceAsStream methods take a String with a leading “/” as an argument that gives the path of the resource relative to the root of the context or relative to the META-INF/resources directory of a JAR file inside the web application’s WEB-INF/lib directory.

Resin doesn't appear to be doing this (I'm using 4.0.53).

Is this part of the Servlet 3 spec supported by Resin?

I have a dependency which relies on this capability and it's preventing me from deploying the app to my cluster.

Notes
(0006780)
ferg   
08-10-17 14:51   
server/1t08