jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes Display 2 headers in a page while printing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Display 2 headers in a page while printing" Watch "Display 2 headers in a page while printing" New topic

Display 2 headers in a page while printing

kavitha ananya

Joined: May 07, 2008
Posts: 4
Hi all,

I have an JSP page which has a static page header (say the logo of the company).

For every month we are displaying a list of people. We have a page break for every month. Each day is reprsented in a different column. The people name is getting displayed in every row.. If there are more number of people in every month, then while printing, few people names are getting displayed in the next page, but the table column header (i.e., days) is not getting displayed in new page. We want to display in the new page also. Does anybody have idea on this..

When I print this page, i want the page header and the column header of the table to repeat on every page.

Can anybody please please please please help me in this....

We are using Struts

Thanks and regards
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
You can try somethign like this: http://www.codeproject.com/KB/grid/HeaderOnEachPage.aspx

I agree. Here's the link: http://aspose.com/file-tools
subject: Display 2 headers in a page while printing
It's not a secret anymore!