webhsu
asked on
Exporting to an Excel Database
Hey,
I retrieve data from a database, put the information in a table(html) and allow the user of the application to view it in excel if he/she so chooses. I would like to put different tables into different workbooks inside excel.
Anyone have a suggestion?
Thanks,
Weber
I retrieve data from a database, put the information in a table(html) and allow the user of the application to view it in excel if he/she so chooses. I would like to put different tables into different workbooks inside excel.
Anyone have a suggestion?
Thanks,
Weber
set the contect type as "text/vnd.msexcel"
typo there
response.setContentType("a pplication /vnd.ms-ex cel")
response.setContentType("a
might not be of much help but just in case ...
http://www.intrinsyc.com/support/j-integra/doc/servlet_com/excel_example_servlet.html
http://www.intrinsyc.com/support/j-integra/doc/servlet_com/excel_example_servlet.html
ASKER
I actually have exported data to excel already. just need to split it into different workbooks within the same excel session.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanx.
I'm glad it's worked. Could you confirm which versions of Excel this works with please? (I'm a Linux user so it's a bit difficult to check ;-))
I'm glad it's worked. Could you confirm which versions of Excel this works with please? (I'm a Linux user so it's a bit difficult to check ;-))
ASKER
office 2k.
Thank you ;-)