[ https://issues.apache.org/jira/browse/WW-5392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart closed WW-5392. ----------------------------- Resolution: Not A Problem Please ask such question on the Users mailing list, Jira isn't a place to ask questions but report bugs. If you use {{StrutsTilesListener}} this should be happening automatically: {quote}As from Struts 2.3.28, the plugin automatically loads all Tiles definitions matching the following pattern tiles*.xml - you don’t have to specify them via org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG in web.xml{quote} https://struts.apache.org/plugins/tiles/#usage Also check the example app https://github.com/apache/struts-examples/tree/master/tiles > Tiles-Plugin unable to load tiles definition XML if the file names are > specified with wild char > ----------------------------------------------------------------------------------------------- > > Key: WW-5392 > URL: https://issues.apache.org/jira/browse/WW-5392 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Tiles > Affects Versions: 6.3.0 > Reporter: Saravanan Sivaguru > Priority: Major > Fix For: 6.4.0 > > Attachments: Web_XML_File_Tiles_Defintion_Context.PNG > > > Hi I am doing the migration from Apache tiles 2.1.4 to Apache > struts2-tiles-plugin 6.3.0.2 since tiles reached the EOL long time before and > it will not support anything for jakarta namespacing. > As struts will start providing support for jakarta namespacing from v7.X we > are migrating the Apache tiles to Apache struts2-tiles-plugin 6.3.0.2 now. > +*Issue:*+ > # With the Apache tiles 2.1.4 we are able to load the tiles defintion file > from webapp with the help of the wildcard character in the file name. For > ex:- /WEB-INF/config/tiles/*.tiles.xml. With the current plugin version we > are unable to do so. > We are enabling this configuration by defining it under param-name > "org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG" > # We are having a template framework which had been created on the top of > Struts and tiles. We have generic tiles definition defined to handle the > template genrically across our applications. When I tried to load the tiles > definition with wildcar character again, it is not getting loaded. > For ex:- > classpath*:/META-INF/org.kawa.tiles.xml,classpath*:/META-INF/com.*.tiles.xml > We also have enabled this configuration under the param-name > "org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG" > Could you please let me know the option to enable the wildcard character > naming for tiles definition file loading from the application path and also > it's dependent application files. -- This message was sent by Atlassian Jira (v8.20.10#820010)