All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pz.struts2-thymeleaf3-plugin.1.0.4-RELEASE.source-code.struts-plugin.xml Maven / Gradle / Ivy

There is a newer version: 1.2.0-RELEASE
Show newest version
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
    "http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
    <bean type="serendip.struts.plugins.thymeleaf.spi.TemplateEngineProvider" name="default" class="serendip.struts.plugins.thymeleaf.spi.DefaultTemplateEngineProvider" />

	<bean type="org.thymeleaf.TemplateEngine" name="default" class="org.thymeleaf.TemplateEngine" />
    <bean type="org.thymeleaf.TemplateEngine" name="spring" class="org.thymeleaf.spring4.SpringTemplateEngine" />

	<package name="struts-thymeleaf" extends="struts-default">
        <result-types>
            <result-type name="thymeleaf" class="serendip.struts.plugins.thymeleaf.ThymeleafResult"/>
            <result-type name="thymeleaf-spring" class="serendip.struts.plugins.thymeleaf.ThymeleafSpringResult"/>
        </result-types>
    </package>

	<constant name="struts.thymeleaf.templateMode" value="HTML5" />
	<constant name="struts.thymeleaf.encoding" value="UTF-8" />
	<constant name="struts.thymeleaf.prefix" value="/WEB-INF/content/templates/" />
	<constant name="struts.thymeleaf.suffix" value=".html" />
	<constant name="struts.thymeleaf.cacheable" value="true" />
	<constant name="struts.thymeleaf.cacheTtlMillis" value="3600000" />
	<constant name="struts.thymeleaf.templateEngineName" value="default" />
</struts>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy