You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2019/12/17 19:31:37 UTC

[struts] branch master updated: Fixes Showcase app Tiles example

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/master by this push:
     new 03da857  Fixes Showcase app Tiles example
03da857 is described below

commit 03da857d9ffef35514084666b69f88977d0e36df
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Tue Dec 17 20:31:02 2019 +0100

    Fixes Showcase app Tiles example
---
 apps/showcase/src/main/webapp/WEB-INF/web.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/apps/showcase/src/main/webapp/WEB-INF/web.xml b/apps/showcase/src/main/webapp/WEB-INF/web.xml
index efc01f7..d769082 100644
--- a/apps/showcase/src/main/webapp/WEB-INF/web.xml
+++ b/apps/showcase/src/main/webapp/WEB-INF/web.xml
@@ -23,6 +23,13 @@
 
     <display-name>Struts Showcase Application</display-name>
 
+    <context-param>
+        <param-name>org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG</param-name>
+        <param-value>
+            /WEB-INF/tiles.xml
+        </param-value>
+    </context-param>
+
     <filter>
         <filter-name>async</filter-name>
         <filter-class>org.apache.struts2.showcase.async.AsyncFilter</filter-class>