anandkumar
|
Posted: 10/15/2005, 10:43 PM |
|
Hi
I am able to store a file to server..but i want Download text or Database records from the webpage to client mechine with user given file name.
please help me
thanks
|
|
|
Deepa
Posts: 2
|
Posted: 10/16/2005, 8:55 PM |
|
Even i have the same problem. I need to download files from the server to the client machine through my servlet. Also, is there any way the servlet to know whether the user has clicked on Ok or cancel on the Download Dialog box. I have an audit table into which the entry needs to go, only if the User clicks on Ok and downloads the file.
Any help will be appreciated.
Thanks
|
|
|
eserver221
|
Posted: 10/16/2005, 9:50 PM |
|
Actually, the File you uploaded was saved in the directory that you configured at design time.
So, first you add Link Field to your design. then retrieve the uploaded filename from the database,strip the date and time part from the filename. At last, concate the relative path and filename, assign it to the corresponding attribute of Link Field.
|
|
|
Aravind
|
Posted: 11/07/2005, 4:37 AM |
|
i am also having the same problem...
I hope U may got the answer for this problem by this time....
I would be thankful If You can convey the tech... behind it...
Aravind
|
|
|
|