Javier Reyes wrote:instead of OutputStream i used ByteArrayOuputStream just like this
the detail in here is that the HSSFWorkbook object must be the one writing on a OutputStream, not in the other way, i had a similar problem but this solved it, now i can open excel files generated by my aplication without problem
by the way im using poi-3.2-FINAL-20081019
cheers
thanks Javier, this solve my problem. Now im using 'byteRpt' instead of workbook.getBytes() and its works.
gracias amigo