aspose file tools*
The moose likes Struts and the fly likes Struts2 File Download Process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 File Download Process" Watch "Struts2 File Download Process" New topic
Author

Struts2 File Download Process

pl husal
Greenhorn

Joined: Mar 11, 2008
Posts: 2
Hi,

Is there any body have code which allow user to download files from server using Struts2.

I am trying to code for that requirement, but not able to complete using Struts2,

Appreciate if once share there ideas

regards
husal
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

http://struts.apache.org/2.x/docs/stream-result.html

There's an example in the showcase app, too.

Are you having a specific issue?
pl husal
Greenhorn

Joined: Mar 11, 2008
Posts: 2
when i code i am getting the file content in response not as the file.

thanks for the url, let me try that.
 
jQuery in Action, 2nd edition
 
subject: Struts2 File Download Process