https://bz.apache.org/bugzilla/show_bug.cgi?id=63346

--- Comment #2 from Alex <[email protected]> ---
In Back end:

ByteArrayOutputStream fileOut = new ByteArrayOutputStream();
workbook.write(fileOut);                        
fileOut.flush();
 byte[] ba = fileOut.toByteArray();     
String encoded = DatatypeConverter.printBase64Binary(ba);

fileOut.close();
workbook.close();                       

res.setJSonObject(encoded);

return res;

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to