hi natu. IOException you got with -1 bytes read is because you used the inputstream to watch the contents. if you get rid of the test code, it will not happen. so don't worry.
'the whole bunch of invalid characters' is the content of excel file you uploaded. when you feed inputstream to POIFSFileSyste, the inputstream must contains only that part. now it is obvious that the problem is not related to poi itself and this mailing list is poi-dev, the place to talk about developping poi. you will get more help if you ask question on servlet-related mailing list:) regards ichy --------------------------------------------------------------------- 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/