Code: Select all
<bean id="blAdminWebTemplateResolver" class="org.thymeleaf.templateresolver.ServletContextTemplateResolver">
<property name="prefix" value="/WEB-INF/templates/admin/" />
<property name="suffix" value=".html" />
<property name="templateMode" value="HTML5" />
<property name="cacheable" value="${cache.page.templates}"/>
<property name="cacheTTLMs" value="${cache.page.templates.ttl}" />
<property name="characterEncoding" value="UTF-8" />
<property name="order" value="200"/>
</bean>
Im not sure where to put my admin html templates. I already added my html template under admin project WEB-INF/templates/admin/mysite/myTemplate.html
but when i try to use it on the controller return statement, it throws an error:
Error resolving template "mysite/myTemplate", template might not exist or might not be accessible by any of the configured Template Resolvers