File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
tiles
Struts tiles help
Is it possible to have dynamic values in tiles.xml in Struts2
Multiple Tiles Definition files OR passing parameters to tiles.xml at runtime
Is there any limitation in the no of definition entries allowed in tiles.xml file