I prefer Tiles to Sitemesh. Sitemesh is easier to use (at least easier than Tiles1, haven't tried Tiles2 yet). The reason I like Tiles better is for performance. Sitemesh buffers the entire before it can output the content. This chews up a lot of memory on large pages. For smaller pages, the memory footprint is probably negligible, but I'd rather not take the chance.
On Jan 10, 2008 2:40 PM, bhaarat Sharma <[EMAIL PROTECTED]> wrote: > Helloo > > we have an application that is using servlets and some struts2. > > We have a problem where we need to add a code snippet in all our > printer friendly pages (current date and logged in user id). We have > over 30 printer friendly pages. > > I have not invested a lot of time with sitemesh but just browsed over > it as reading struts 2 tutorials. > > Can someone please tell me if we should be looking at sitemesh to > solve this problem..rather than opening each printer friendly page and > adding code to it to show current date and logged in user. > > I\'d appreciate any help/hint > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Rick