Class ServletContextResource

All Implemented Interfaces:
ContextResource, InputStreamSource, Resource

public class ServletContextResource extends AbstractFileResolvingResource implements ContextResource
Resource implementation for ServletContext resources, interpreting relative paths within the web application root directory.

Always supports stream access and URL access, but only allows java.io.File access when the web application archive is expanded.

Since:
28.12.2003
Author:
Juergen Hoeller
See Also: