Umstellung auf Thymeleaf: Schritt 1 - Thymeleaf zum Laufen bekommen
[website] / src / main / webapp / WEB-INF / web.xml
index 320365f..89be328 100644 (file)
@@ -43,7 +43,7 @@
   <!-- Handles all requests into the application -->
 
   <servlet>
-    <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
+    <servlet-name>Dispatcher Servlet - Branding</servlet-name>
     <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
     <init-param>
       <param-name>contextConfigLocation</param-name>
   </servlet>
 
   <servlet-mapping>
-    <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
-    <url-pattern>*.html</url-pattern>
+    <servlet-name>Dispatcher Servlet - Branding</servlet-name>
+    <url-pattern>/</url-pattern>
   </servlet-mapping>
 
   <error-page>
     <error-code>404</error-code>
-    <location>/WEB-INF/404.jsp</location>
+    <location>/404.html</location>
   </error-page>
   <error-page>
-    <location>/WEB-INF/error.jsp</location>
+    <location>/error.html</location>
   </error-page>
 
 </web-app>