close

Filter

loading table of contents...

Content Application Developer Manual / Version 2107

Table Of Contents

4.3.3.6 Loading Templates from a JAR in Classpath

When using Servlet 3.0, resources may be stored in JARs, and so can Templates. In order for that to work, templates must be stored under the path /META-INF/resources/WEB-INF/templates. The application container will automatically resolve that path as if it were in the file system.

The same JAR may be used inside a web application and from the content repository if the configured path matches the path inside the JAR. Following the example above, the format would have to be: jar:id:contentproperty:/Sites/templates/%s/data!/META-INF/resources/WEB-INF/templates/

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.