Praveen
SCJP, SCWCD, SOA
Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Mary Taylor wrote:Thank you so very much, Praveen. My upload works great now; very easy to do.
Do you know how to direct where the download is placed using this method? I had that part working previously with another method,
but I can't seem to figure it out for this procedure.
iam wondering.. which one is faster and good for implementation?..
use binaryStream (which image stored in database) or use img tag (which image stored in web server;s directory)?..
Mary Taylor wrote:I'd like to download the file directly to a directory in the local file system.
I'm not sure what you are referring to by "streaming it to the user". I
do get the file downloaded but to some obscure directory. I just want to
set the directory path where the download is placed.
The file gets put in a default Windows Vista selected location. I'd like to direct the location the file is stored in on the download.
If I become filthy rich, I'll sponsor research for painless dental treatment at Harvard Medical School. Thats why,I'm learning Java.I have 32 teeth, 22 are man made.
PROGRAM FOR UPLOADING THE FILE</center> | |
Choose the file To Upload: | <INPUT NAME="upfile" TYPE="file"> |
<INPUT TYPE="submit" VALUE="Send File" > |
And inside of my fortune cookie was this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|