but do you think I will be able resolve my problem of 'not touching 30 different pages for the same thing.
In tiles or sitemesh...is it possible to make a page, say A,....add some stuff in it and then in an xml file or something.. give the name of pages to which 'A' should append to? hmm that sounds rather vague. maybe in my case there is no other way than to do the same thing on each page? On Jan 10, 2008 10:06 PM, Rick Reumann <[EMAIL PROTECTED]> wrote: > 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 >