aspose file tools
The moose likes Servlets and the fly likes Extracting downloaded zip file through code? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Extracting downloaded zip file through code?" Watch "Extracting downloaded zip file through code?" New topic
Author

Extracting downloaded zip file through code?

Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
Hi,

If i have a downloaded zip file which i am downloading through the reponse object, is it possible to automatically extract the file immediately after getting downloaded....???

Jignesh
[ April 07, 2006: Message edited by: Bear Bibeault ]

Regards,
Jignesh

The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I assume you are referring to the client's side? That is, the client gets sent a zip file and you want to it to be automatically unzipped?

No, you can't control what the client does with the zip after it gets sent to them.
Ganesh Chinni
Greenhorn

Joined: Dec 30, 2005
Posts: 24
After the zip file is sent to the client, the browser throws up options to the user and based on the option selected by the user(save,extract, open ..etc), the zip file is handled.

Regards,
Ganesh
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Extracting downloaded zip file through code?
 
Similar Threads
Khalid Test Not working
web.xml couldn't detect taglib tag anymore?
how to take the jxam exam
How, where to start
Java Puzzlers : Traps, Pitfalls, and Corner Cases by Joshua Bloch, Neal Gafter