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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org