This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display 2 headers in a page while printing

 
kavitha ananya
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try somethign like this: http://www.codeproject.com/KB/grid/HeaderOnEachPage.aspx

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic