2 <html xmlns:th="http://www.thymeleaf.org">
4 <title>Testing Exception-Handling - Template B</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
10 <p><strong th:text="'Serving with template ::' + ${template} + '::!'">TEXT</strong></p>
12 Type in <strong><code>a</code></strong> or <strong><code>b</code></strong>
13 for an existing template (no exception). Type in any other string for a
14 non-existent template: Thymeleaf will throw a
15 <strong><code>TemplateInputException</code></strong>!
19 <form action="#" th:action="@{/}" method="get">
21 <label for="path">Remote-Path to fetch:</label>
22 <input type="text" name="template" value="a" th:value="${template}"/>
24 <button type="submit">Submit</button>