File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 ?
I agree. Here's the link:
subject: HSSF: Getting
It's not a secret anymore!