struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <d...@newfield.org>
Subject Re: Downloading a Streamed File
Date Fri, 24 Jul 2009 15:00:07 GMT
Why are you trying to modify the result once it's already running rather 
than configuring it in your struts.xml?

http://struts.apache.org/2.1.6/struts2-core/apidocs/org/apache/struts2/dispatcher/StreamResult.html

Note, there's a bug in that documentation that'll be fixed in the next 
release, which you've already figured: instead of 
'filename="document.pdf"' it should be 'attachment;filename="document.pdf"'.

-Dale

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


Mime
View raw message