Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

downloading zip file  RSS feed

 
pendse anagha
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!