I have written the code to upload and download a file from an Oracle database. (After trying various 3rd party beans for this, I broke down and wrote the code myself using the MultipartParser in the com.oreilly.servlet package) One problem though, is that my code only seems to work for text files. I've read that you somehow have to use the file content-type to download different types of files correctly, but I'm not quite sure how or where to use that information.
Also, ultimately, I would like to have the filenames available listed as urls that when clicked would download the appropriate file and prompt the user to choose whether they want to open it from the current location or save it to disk (as is usually done with files in browsers). I have no idea how to do this. If anyone has any ideas, I would be very grateful for your help.
Thanks in advance!
[ July 26, 2002: Message edited by: Nicole Swan ]