A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
How to send a Zip file to CLient
Joined: Jun 03, 2010
Jun 03, 2010 05:19:55
i am getting the
compressed (zipped) folder is invalid or corrupted
on UI screen upon selecting the open button on dialog box. please help me out.......
response = HttpJSFUtil.getResponse();
File f = new File("C:\\Krishna\\AL3Files.zip");
outputStream = response.getOutputStream();
byte arBytes = new byte[(int) f.length()];
} catch (
// TODO Auto-generated catch block
Joined: Jul 29, 2008
Jun 03, 2010 08:04:45
Hello Krishna, welcome to JavaRanch
instead of Invali, thi, pblm,.... and please
when you post a code.
Can you please click the
button and make them changed?
Author of ExamLab
- a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like?
How to Ask a Question
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to send a Zip file to CLient
Get file and getBytes()
Sending a ZIP file in Servlet response
how to put two different folders(which is in different location) into one zip entry
Unzipping a .zip file containing .gif files
Q. on setContentType()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015