Hi,

I used POI to create Excel Report but when I try to do export in WebLogic, I
get some garbage data. It works fine in Tomcat and in WebSphere.

response.setContentType("application/vnd.ms-excel");
ServletOutputStream sosStream = response.getOutputStream();

//Writing WorkBook to output Stream
        wb.write(sosStream);

sosStream.flush();
        sosStream.close();

Any input is appreciated on this.

Thanks,

Prasanna





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to