Content Application Developer Manual / Version 2207
Table Of Contents
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/