my dog learned polymorphism*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: downloading zip file
 
Similar Threads
Extracting downloaded zip file through code?
Oracle 11g Installtion Errors in Linux
web.xml couldn't detect taglib tag anymore?
UnZip the FormFile
File Download behavior is different for different type of files