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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 File Download Process
 
Similar Threads
STRUTS2
Struts2 java.lang.reflect.InvocationTargetException (Struts2 with Hibernate)
Intergration of Struts2 and EJB3.0 using struts2-ejb3-plugin
Struts2 & XWork
struts2 question!