File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes download zipped excel help!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "download zipped excel help!!!" Watch "download zipped excel help!!!" New topic
Author

download zipped excel help!!!

alex ho kwong yiu
Greenhorn

Joined: Jun 06, 2006
Posts: 3
Hi all,

i believe it is related to i/o question,

there is an existing code which work fine to output excel stream for user download /save in local directory



i try to modify it to output compressed excel(zipped version) for user download but fail, it show java.util.zip.ZipException: no current ZIP entry

what's wrong of the modified code?


i have searched post, it seems that i need read file (inputstream) and then transfer outputstream of zipOut, but it seems doesn't fix my case,
the wb object stored in memory

please help
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: download zipped excel help!!!