struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <d...@newfield.org>
Subject Re: Uploading large files
Date Tue, 14 Jul 2009 13:55:49 GMT
Daniele Development-ML wrote:
> 3. Went to the FAQ section to see how I could integrate in my Struts
> application ( http://commons.apache.org/fileupload/faq.html ), and read the
> last point - from which I assumed Struts doesn't use this modality.

Those two FAQs are related to Struts1, not Struts2.  In Struts2 the 
standard way to do this is to use the fileUpload interceptor, and then 
the action need not be special, just have a few relevant setters.

> download

For this you'll want to look into the "stream" result type.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message