Hey,

Not sure where I got this from, but I've corrected it so that all the properties are in the struts.xml instead of modifying it in the code. I still have the same issue though. Right clicking the link doesn't work and the filename is still listed as the action.

Thanks,
Tim

Dale Newfield wrote:
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



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

Reply via email to