File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts Tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply Bookmark "Struts Tiles" Watch "Struts Tiles" New topic
Author

Struts Tiles

Boon Subra
Ranch Hand

Joined: Jul 18, 2001
Posts: 69
Hi ,

I tried to include the static pages of the weblayout say,header,sideglance ,footer of the web page using tiles.

When the same function works same well with the include tag of jsp,why do you need the tiles concept.

Also:
I included in the jsp file called AdminPanel.jsp as follows:
<tiles:insert page="/AdminPanel.jsp" flush="true"/>
.
.
.
</tiles:insert>

When I put the file name in the page attribute and run the page.
I was able to view the pages in tiles one below the other.

Later I changed the page attribute as page="/" and retried the page,it was a single required one.

Can you please explain.

Thanks and regards,
Bhuvana
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
Originally posted by Bhuvana Bala:
When the same function works same well with the include tag of jsp,why do you need the tiles concept.


This article should answer your question.


Jason's Blog
 
 
subject: Struts Tiles
 
Threads others viewed
multiple JS files with Struts Tiles
confusion on struts tile
Problem With Tiles
How tiles are resolved in a JSP page
Tiles in struts?
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture