A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
Struts2 File Download Process
pl husal
Greenhorn
Joined: Mar 11, 2008
Posts: 2
posted
Jan 29, 2009 13:28:03
0
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
I like...
posted
Jan 29, 2009 13:36:18
0
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
posted
Jan 30, 2009 09:23:36
0
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://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Struts2 File Download Process
Similar Threads
Struts2 & XWork
STRUTS2
Intergration of Struts2 and EJB3.0 using struts2-ejb3-plugin
Struts2 java.lang.reflect.InvocationTargetException (Struts2 with Hibernate)
struts2 question!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter