aspose file tools*
The moose likes Java in General and the fly likes File Download Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "File Download" Watch "File Download" New topic
Author

File Download

rose hegde
Ranch Hand

Joined: Oct 22, 2003
Posts: 40
I have uploaded a file using java and jsp in mysql database.But i am unable to download it through jsp where in i should get a download window with save option.Please help
Maverick Lasa
Greenhorn

Joined: Oct 18, 2003
Posts: 23
this is a bit of browser dependent. you can use the GET request to retrieve a resource such a zip file. your browser automatically detects this and would prompt you with a Save As... dialog. This is however depends on the format of the file you are downloading. For plain files like txt files, your browser might try to display it rather than prompting you with a dialog.
mavedrive;
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File Download