Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

Re: Sitemesh or Tiles2

Antonio Petrelli

2008-05-14

Replies:

Author LoginPost Reply
2008/5/14 Kibo <tomasjurman@(protected)>:
> I read about Sitemesh and i dont find whay is Sitemesh for me better then
> Tiles 2.
>...
> Is it other reason why i have to use Sitemesh?

Why not using them both?
Essentially Sitemesh is better than Tiles in decoration: if you have a
web application in which only the "body" part changes, then Sitemesh
fits for you.
But if you need to compose the page in complex ways and you want to
control how these pieces are generated then you can use Tiles.
But if you have a mix of these cases, you can use them both, that's
nothing that prevents you from that :-)

Ciao
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.