open class ServletContextResourceLoader : DefaultResourceLoader
ResourceLoader implementation that resolves paths as ServletContext resources, for use outside a WebApplicationContext (for example, in an HttpServletBean or GenericFilterBean subclass).
Within a WebApplicationContext, resource paths are automatically resolved as ServletContext resources by the context implementation.
Author
Juergen Hoeller
Since
1.0.2
See Also
#getResourceByPathServletContextResourceorg.springframework.web.context.WebApplicationContextorg.springframework.web.servlet.HttpServletBeanorg.springframework.web.filter.GenericFilterBean
ServletContextResourceLoader(servletContext: ServletContext)
Create a new ServletContextResourceLoader. |