| |
|
| java.lang.Object freemarker.cache.WebappTemplateLoader
WebappTemplateLoader | public WebappTemplateLoader(ServletContext servletContext)(Code) | | Creates a resource template cache that will use the specified servlet
context to load the resources. It will use the base path of
"/" meaning templates will be resolved relative to the
servlet context root location.
Parameters: servletContext - the servlet context whoseServletContext.getResource(String) will be used to load thetemplates. |
WebappTemplateLoader | public WebappTemplateLoader(ServletContext servletContext, String path)(Code) | | Creates a template loader that will use the specified servlet
context to load the resources. It will use the specified base path.
The is interpreted as relative to the current context root (does not mater
if you start it with "/" or not). Path components
should be separated by forward slashes independently of the separator
character used by the underlying operating system.
Parameters: servletContext - the servlet context whoseServletContext.getResource(String) will be used to load thetemplates. Parameters: path - the base path to template resources. |
getLastModified | public long getLastModified(Object templateSource)(Code) | | |
|
|
|