aspose file tools*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Why i should be use Struts with Tiles Framework Together ??