thanks, this *one* jsp would have the stuff coming from DB but still will need to be included as <jsp:include in all other pages, right.
Thanks also to people with suggestions on sitemesh. I am going to try it this weekend. On Jan 11, 2008 8:41 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/1/10, bhaarat Sharma <[EMAIL PROTECTED]>: > > 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. > > Probably you won't need sitemesh, but only *one* JSP that includes the > text at the right place, if you are taking your text from a DB. > > Antonio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -bhaarat