This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tiles" Watch "tiles" New topic
Author

tiles

hamsageetha
Greenhorn

Joined: Nov 12, 2003
Posts: 4
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

Joined: Feb 26, 2001
Posts: 4446
    
    5

"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.


Junilu - [How to Ask Questions] [How to Answer Questions]
Eric Sexton
Ranch Hand

Joined: Sep 12, 2003
Posts: 133
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

Joined: Aug 23, 2005
Posts: 155
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???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tiles
 
Similar Threads
Is there any limitation in the no of definition entries allowed in tiles.xml file
Struts modules and html:form
error when run application on tomcat 5.5
RAD and Apache Tiles
Opening a new window through tiles