• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tiles

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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???
 
reply
    Bookmark Topic Watch Topic
  • New Topic