Two Laptop Bag*
The moose likes Struts and the fly likes Downloading a file to client side without saving the file on the server - dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Downloading a file to client side without saving the file on the server - dynamically" Watch "Downloading a file to client side without saving the file on the server - dynamically" New topic
Author

Downloading a file to client side without saving the file on the server - dynamically

sri ram kotireddy
Greenhorn

Joined: Mar 13, 2012
Posts: 16
Hello,

I am writing data to a csv file using FileOutputStream, Here the constructor wants path of the file to save. But I don't actually the path of the client where he wants to save...

Can you please suggest me How to do this?

I am using below code to download a file which resides in the server

sri ram kotireddy
Greenhorn

Joined: Mar 13, 2012
Posts: 16
I am making jquery ajax call



How can i get back stream result for downloading the file.

Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Downloading a file to client side without saving the file on the server - dynamically
 
Similar Threads
Using redirect-action
How to preview uploaded image before inserting into the database
problem displaying title using jasper reports plugin
Delete file when the file downloaded.
Download CSV file from apllication server