Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to export a html table to excel with customized header and footer

843840Aug 21 2008 — edited Aug 21 2008
I am able to export data to excel using
<%
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition","attachment;filename=\"" +"Report.xls");
%>
but i need a customised header and footer (on each page ) in the excel how do i achieve this
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 18 2008
Added on Aug 21 2008
1 comment
366 views