Hm not sure why I thought 3.1 was the latest for 1.4... I tested it with 3.2 though and it seemed to work locally. Then I tested it with 3.1 locally and that seemed to work too.
It looks like the problem is only in the part that runs on the server. The difference between the class that the server uses and the main one is that it saves the spreadsheet differently since it returns a blob. This is the code I use to write it to a blob,xls_blob being the empty blob that is being passed in as a parameter: OutputStream os = xls_blob.getBinaryOutputStream(); wb.write(os); os.close(); Is there anything wrong with that or is there something about writing to a blob that makes things like this get lost in translation? I'm not too familiar with blobs myself. I'm going to try to get 3.2 on the server and see if that fixes anything, if it doesn't it's probably a good idea to have it anyways. -- View this message in context: http://apache-poi.1045710.n5.nabble.com/HSSF-Autosize-Column-Producing-Huge-1st-Column-POI-3-1-tp4613320p4615747.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]
