Hi,

I also was getting a corrupted excel, but i discovered that it was happening
because i was using an Outputstream instead of the FileOutputStream 

**What i was doing:

 OutputStream out=response.getOutputStream();


**What i Should

FileOutputStream out = new FileOutputStream("/temp/sxssf.xlsx");



For some reasson if we use a SXSSFWorkbook i cannot be open with
OutputStream.


Hope it helps








--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/problem-opening-excel-2007-created-using-SXSSF-tp4705693p4876184.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to