Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Display 2 headers in a page while printing

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can try somethign like this: http://www.codeproject.com/KB/grid/HeaderOnEachPage.aspx

Eric
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic