This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: downloading zip file
 
It's not a secret anymore!