File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Tiles Framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles Framework" Watch "Tiles Framework" New topic

Tiles Framework

ramji srinivasan

Joined: Aug 22, 2005
Posts: 11

i want to design the home page in tiles.on hitting the site itself i should get my home page in tiles...

For the above how should the "Welcome page" tag in struts-config be coded and structure of tiles-defs.xml.

Thanking u
Ramji Srinivasan
Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
What is the problem you encountered? Any set of pages which share the same layout could be implemented as tiles in order to reduce duplication. So if the welcome page has similar look and feel as other pages, they could as well be implemented as layout. Each individual page could then use <tiles:insert > to "invoke" the layout while supplying page specific display content.
I agree. Here's the link:
subject: Tiles Framework
jQuery in Action, 3rd edition