wood burning stoves 2.0*
The moose likes Servlets and the fly likes How to ensure that a window always pops up in Download Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to ensure that a window always pops up in Download" Watch "How to ensure that a window always pops up in Download" New topic
Author

How to ensure that a window always pops up in Download

Doshi Milan
Ranch Hand

Joined: May 29, 2001
Posts: 112
Hello Friends,
I wanted a help in downloading files. I am actually using Jspsmartupload for downloading.
It is working fine. However the probelem is that everytime I click for the file to be downloaded ,rather than showing a pop up window it straight away shows the content in the browser. This is true for the generally understood files like .jpeg, .doc,.txt.
Only when I give a not so common file extension will then the pop up window come and ask if I want to save the file ...

Hence how do I ensure that irrespective of the type of file , a window always pops up asking if I want to save the file ....
I guess it might be something to do with the mime type , so please remember that I am using Jspsmartupload.
Thanks in advance,
Regards,
Milan Doshi
 
Consider Paul's rocket mass heater.
 
subject: How to ensure that a window always pops up in Download
 
Similar Threads
how to download a file.......
downloading file
Save as Dialog in Applet
calendar popup
jspsmartupload and download file