This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tiles

 
hamsageetha
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tiles.xml file where i have define all the attributes under the <tiles-definition> tag
I have done the tile plugin in strutsconfig file also
Now how to invoke a jsp which has used the layout which is defined
 
Junilu Lacar
Bartender
Pie
Posts: 7327
45
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"hamsageetha",
Welcome to JavaRanch! Please edit your profile and change your publicly displayed name to comply with the JavaRanch Naming Policy.
Thanks for you cooperation.
Re tiles, you need to define an action mapping or forward that has the tiles name as its path.
 
Eric Sexton
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the struts config action tag, the path of the forward should correspond to one of your tiles definitions.

Here's the definition:

Is this what you meant?
 
vijaya bacina
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have done the same thing..
but im getting the error like "file not found @changedisplay##"
i think container is viewing it ( path="@changedi##" in struts-config.xml ) as a file not as a tile definition..
am i right???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic