Improve WAR resource extraction by using ServletContext.getResourcePaths