public class MetaInfResourcesClasspathResourceResolver extends DefaultResourceResolver
Provides facelets from the directory "META-INF/resources/" of any jar file in the classpath. With the Servlet 3.0 specification this is no longer needed.
To configure this ResourceResolver put this code into the web.xml file:
<context-param>
<param-name>javax.faces.FACELETS_RESOURCE_RESOLVER</param-name>
<param-value>
org.apache.myfaces.tobago.facelets.MetaInfResourcesClasspathResourceResolver
</param-value>
</context-param>
| Constructor and Description |
|---|
MetaInfResourcesClasspathResourceResolver() |
| Modifier and Type | Method and Description |
|---|---|
URL |
resolveUrl(String path) |
toStringpublic MetaInfResourcesClasspathResourceResolver()
public URL resolveUrl(String path)
resolveUrl in class DefaultResourceResolverCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.