aspose file tools
The moose likes Servlets and the fly likes HSSF: Getting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HSSF: Getting " Watch "HSSF: Getting " New topic

HSSF: Getting


Joined: Jan 14, 2003
Posts: 6
I am uploading an MSExcel file to a servlet. The servlet reads this file thru ServletInputStream and when I try to pass this stream to
// reads Excel file
HSSFWorkbook wb = new HSSFWorkbook(inputStream);
It throws me exception: Unable to read entire block; 49 bytes read; expected 512 bytes
Can anybody help me in this ?
It is sorta covered in the JavaRanch Style Guide.
subject: HSSF: Getting