• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Struts Tiles

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!