Download Files using JSP Page....
Posted on 2006-04-16
My application allows users to upload files to the server.so when i'm uploading them...i'm even storing the path of that in the database. Now i've a form where i'm bringing up these paths a downloadable links.
My problem is ....the path is proper and even the files are present on the server but when i click on the link i'm not getting the download pop up which should have Open - save - cancel.
Instead its taking to that page link and a blank screen is displayed on the browser with the link path i clicked as the address in the addressbar...
and even i tried saving it by clicking on the save target as - now the file is getting stored as extended html format.
and more over when i get a blank screen....even though i clicked the back button its not taking me to the previous page...