🌐

HTML Templates

Student list, detail view, forms
th:each, th:if, th:text, th:object, th:field

📄

XML Templates

REST XML responses
produces = APPLICATION_XML_VALUE
@JacksonXmlRootElement

📝

Text Templates

Plain-text report, CSV export, config file
[(${variable})], [# th:each]...[/]

🎨

JS & CSS Templates

Static resource linking & inline JS
th:href="@{/css/...}", th:inline="javascript"

🧩

Fragment Templates

Reusable layout components
th:fragment, th:replace, th:insert

📧

Email Templates

HTML email generation
SpringTemplateEngine, MimeMessageHelper

🔐

Security Integration

Role-based visibility
sec:authorize, sec:authentication

🌍

i18n / Localization

Multilingual UI
#{key}, ?lang=hr, messages.properties

⚙️

Raw Templates

Unescaped output mode
TemplateMode.RAW, pre-rendered HTML blocks

Logged in as: | Logout Login to see the Security demo