Hi,
just to be clear. This means that the problem has nothing to do with the
SXSSF implementation. Even if you had returned a file you had previously
created with MS-Excel it probably would have failed. The problem lies in the
format of the file. For reasons I don't know, Excel can apparently open
"xls", but not "xlsx" documents directly returned in an HTTP request. The
problem may be in your servlet code, the browser or in Excel. The
documentation for the ServletResponse.getOutputStream() states that the data
is not encoded ("The servlet container does not encode the binary data"). I
don't know if this means that you need to encode the data but the problem is
likely in this area. How about using "wget" to look at the result of the
request?
Regards,
Alex

--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/problem-opening-excel-2007-created-using-SXSSF-tp4705693p4879626.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