[ 
https://issues.apache.org/jira/browse/WW-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228604#comment-15228604
 ] 

ASF subversion and git services commented on WW-4623:
-----------------------------------------------------

Commit 5ce807aaea3b3efc1c8de2c064b43052b0b8c73b in struts's branch 
refs/heads/support-2-3 from [~aleksandr-m]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=5ce807a ]

WW-4622 - Adds fallback to static config definitions to allow work in 
restricted envs (cherry picked from 6770b35), getRealPath NPE check; WW-4623, 
WW-4624 - Adds support for multiple tiles defintions (cherry picked from 
c12cd61)


>  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.3.29
>
>
> Using struts2.3.24.1, the application can find the definition in a.xml and 
> b.xml
> (web.xml)
> <context-param>
>       
> <param-name>org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG</param-name>
>       <param-value>/WEB-INF/a.xml,/WEB-INF/b.xml</param-value>
> </context-param>
> 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)
> <context-param>
>       
> <param-name>org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG</param-name>
>     <param-value>/WEB-INF/a.xml,/WEB-INF/b.xml</param-value>
> </context-param>
> ----------
> It works fine with a single file
> (web.xml)
> <context-param>
>       
> <param-name>org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG</param-name>
>     <param-value>/WEB-INF/a.xml</param-value>
> </context-param>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to