This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Why i should be use  Struts with Tiles Framework Together ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Why i should be use  Struts with Tiles Framework Together ??" Watch "Why i should be use  Struts with Tiles Framework Together ??" New topic
Author

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

somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Hi all,

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


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
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


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Thank you.
Tiles is LIKE Template or not.
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
Tiles should be a template aims at simpifying the coding of the HTML layout.

Nick
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why i should be use Struts with Tiles Framework Together ??