Skip to Main Content

Java Programming

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!

version of excel used by Apache POI HSSF

807588Jan 21 2009 — edited Jan 21 2009
Hi

I am trying to make a very small report in HSSF apache poi.
I have set following content type in servlet code.
OutputStream out = response.getOutputStream();
				response.setContentType("application/vnd.ms-excel");
				response.setHeader("Content-disposition","inline; filename=report.xls");
				wb.write(out);
				out.flush();
				out.close();
Now I wish to know that if Excel is not installed in machine where this application will run and user directly saves it suppose with name "download.xls"
Then this xls document is saved in compatibility to which version of Excel.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2009
Added on Jan 21 2009
6 comments
332 views