spring-framework / org.springframework.web.context.support / ServletContextResource / createRelative

createRelative

open fun createRelative(relativePath: String): Resource

This implementation creates a ServletContextResource, applying the given path relative to the path of the underlying file of this resource descriptor.

See Also
org.springframework.util.StringUtils#applyRelativePath(String, String)