CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Download a text from Server to file on the Client.

Print topic Send  topic

Author Message
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
View profile  Send private message
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



Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.