I Agree, output.flush(); and output.close(); on a response output stream are illegal, I wasn't doing that in original code but popped up after I did some hit and trial using FileOutputStream instead of response.getOutputStream(). For FileOutputStream this code works pretty fine and Excel opens without any error dialog box. Let me check and get back with the byte count on server and client side.
-- View this message in context: http://apache-poi.1045710.n5.nabble.com/Unreadable-Content-using-XSSF-POI-3-8-while-writing-to-response-getOutputStream-tp5710172p5710181.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]
