This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android 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
Author

Display 2 headers in a page while printing

kavitha ananya
Greenhorn

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
KA
Eric Pascarello
author
Rancher

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

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Display 2 headers in a page while printing
 
Similar Threads
Help on defining CSS
Drag column header, Then all data in this column should be dragged
JTable column headers in 1.3
how to create jtable with rowheader as well as with columnheader
How to freeze header in page