This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why i should be use Struts with Tiles Framework Together ??

 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Why i should be use Struts with Tiles Framework Together ??
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They are 2 different things.

Sturts is used to perform the MVC model, while Tiles is the presentation. For Struts, you never care how the view be displayed. Tiles, on the other hand, is a template framework that make the view simpler. You can configure the header, footer and content of each individual view. It also provides a layout, so that you can customize the layout of each different page.

Nick
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
Tiles is LIKE Template or not.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tiles should be a template aims at simpifying the coding of the HTML layout.

Nick
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic