struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: struts2.5.22 + tiles3.0.8 + commons-beanutils to version 1.9.4
Date Tue, 10 Dec 2019 16:13:50 GMT
wt., 10 gru 2019 o 15:29 Emi <emilu@encs.concordia.ca> napisał(a):
>    <context-param>
>        <param-name>
> org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
>        </param-name>
>        <param-value>
>           /WEB-INF/tiles/menu/tiles-menu.xml
>        </param-value>
>     </context-param>

Please use "org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG"
as this has changed in Tiles 3 - also

> 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, but you can use this option if your application is going to work in restricted
servlet environment e.g. Google AppEngine. In such case, definitions will be read from the
provided init-param


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message