Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tiles.xml

 
steve Pentas
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not that I recall, but examining the DTD docs might provide more insight.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic