This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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