*
The moose likes Servlets and the fly likes downloading zip file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "downloading zip file" Watch "downloading zip file" New topic
Author

downloading zip file

pendse anagha
Ranch Hand

Joined: Mar 09, 2005
Posts: 44
Hello ,
I am downloading a zip file
but I dont want the user given the option of "Open with "
It should only allow user to directly download the file to local box

I am using Tomcat / JSP / servlets
Is this browser specific behaviour ?

Thanks ,
-anagha
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
Yes this a browser specific behaviour. The user has to set up browser setting accordingly.

May be you can try in java script to enable or disable this feature. I am not sure.

Regards


Sarath Mohan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: downloading zip file
 
Similar Threads
UnZip the FormFile
Oracle 11g Installtion Errors in Linux
Extracting downloaded zip file through code?
web.xml couldn't detect taglib tag anymore?
File Download behavior is different for different type of files