Thomas Thomas ha scritto:
What's the advantage of using <tiles:insert attribute="header"/>
instead of
the jsp includes.
The reuse of the layout! You can have a simple layout page (e.g. the
classic layout with header, body, menu (on the left) and footer) with no
connection with its content.
And you can define a base definition (for example without putting the
"body" attribute) and then "extend" it to create the real definitions.
And with Tiles you can create complex pages, by putting a definition as
an attribute: so your body can be made of several reusable parts.
HTH
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]