Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

download zipped excel help!!!

 
alex ho kwong yiu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!