aspose file tools*
The moose likes Struts and the fly likes tiles.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tiles.xml" Watch "tiles.xml" New topic
Author

tiles.xml

steve Pentas
Greenhorn

Joined: Mar 05, 2009
Posts: 14
In struts 2, My tiles.xml is too long and I want to break it into few files and use "include" file type syntax. I searched but couldn't find the correct syntax for that. Can someone help ?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The list of config files is a comma-separated list of files:

http://tiles.apache.org/framework/config-reference.html#org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
steve Pentas
Greenhorn

Joined: Mar 05, 2009
Posts: 14
thanks. Is it possible that I don't change any configuration(i.e. use the tiles.xml only), and in "tiles.xml" I specify including another xml file which has the same DTD format as tiles.xml ?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Not that I recall, but examining the DTD docs might provide more insight.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tiles.xml