This problem was solved, it was my mistake in the method in RoTilesFactory:
@Override
protected List<URL> getSourceURLs(TilesApplicationContext
tilesApplicationContext,
TilesRequestContextFactory tilesRequestContextFactory) {
List<URL> urls = null;
try {
urls = new ArrayList<URL>();
urls.add(tilesApplicationContext.getResource("/WEB-INF/tiles_en_US.xml"));
} catch(Exception exception) {
}
return urls;
}
I had this line
urls.add(tilesApplicationContext.getResource("/WebContent/WEB-INF/tiles_en_US.xml"));
so tiles 2 couldn't see the xml file... The correct line is
urls.add(tilesApplicationContext.getResource("/WEB-INF/tiles_en_US.xml"));
Thank you anyway.
Antonio Petrelli-3 wrote:
>
> 2010/7/28 Hernán <[email protected]>:
>> Please can you help me to solve this problem I'm stacked!
>>
>> http://www.coderanch.com/t/504590/Struts/configure-Struts-Spring-Tiles
>
> What version of Tiles 2.2 are you using? 2.2.2?
>
> Antonio
>
>
--
View this message in context:
http://old.nabble.com/I-cannot-resolve-a-problem-I%27m-having-using-Tiles-2.2.-tp29290523p29300336.html
Sent from the tiles users mailing list archive at Nabble.com.