You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turns out that when using latest version of Gretty with Tomcat 7 ServletContext.getResourcePaths("/WEB-INF/lib") returns collection containing always one entry only, no matter how many jars are in WEB-INF/lib when the actual war is built. Tomcat 8 and Jetty 9 work as expected.
Hi,
It turns out that when using latest version of Gretty with Tomcat 7 ServletContext.getResourcePaths("/WEB-INF/lib") returns collection containing always one entry only, no matter how many jars are in WEB-INF/lib when the actual war is built. Tomcat 8 and Jetty 9 work as expected.
And minor thing - in the docs http://akhikhl.github.io/gretty-doc/Web-app-virtual-webinflibs.html, the example is ServletContext.getResourcePaths("WEB-INF/lib"), while it will work only with leading slash, like this: ServletContext.getResourcePaths("/WEB-INF/lib")
Thanks,
Vadim
The text was updated successfully, but these errors were encountered: