Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65C8E19403 for ; Wed, 6 Apr 2016 18:34:27 +0000 (UTC) Received: (qmail 80519 invoked by uid 500); 6 Apr 2016 18:34:26 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 80419 invoked by uid 500); 6 Apr 2016 18:34:26 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 80072 invoked by uid 99); 6 Apr 2016 18:34:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2016 18:34:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E6BF32C1F78 for ; Wed, 6 Apr 2016 18:34:25 +0000 (UTC) Date: Wed, 6 Apr 2016 18:34:25 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4623) Multiple tiles.xml in web.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228848#comment-15228848 ] ASF GitHub Bot commented on WW-4623: ------------------------------------ Github user victorsosa commented on the pull request: https://github.com/apache/struts/pull/94#issuecomment-206506526 Code implement by Lukas already > Multiple tiles.xml in web.xml > ------------------------------ > > Key: WW-4623 > URL: https://issues.apache.org/jira/browse/WW-4623 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Tiles > Affects Versions: 2.3.28 > Reporter: D Qiu > Priority: Minor > Fix For: 2.5, 2.3.29 > > > Using struts2.3.24.1, the application can find the definition in a.xml and b.xml > (web.xml) > > org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG > /WEB-INF/a.xml,/WEB-INF/b.xml > > With struts2.3.28, the application generates "org.apache.tiles.definition.NoSuchDefinitionException" xxx at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:625) > (web.xml) > > org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG > /WEB-INF/a.xml,/WEB-INF/b.xml > > ---------- > It works fine with a single file > (web.xml) > > org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG > /WEB-INF/a.xml > -- This message was sent by Atlassian JIRA (v6.3.4#6332)