struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [struts] branch master updated: Fixes Showcase app Tiles example
Date Tue, 17 Dec 2019 19:31:37 GMT
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 <lukaszlenart@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>


Mime
View raw message