This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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:

Have you checked out Aspose?
subject: Display 2 headers in a page while printing
It's not a secret anymore!