Yup, those are wrong, it should be: <param name="contentDisposition">attachment; filename="${attachmentFileName}"</param>
Someone with Wiki privileges should probably update those pages. (*Chris*) On Tue, May 5, 2009 at 12:44 PM, Andy <andrh...@hotmail.com> wrote: > > I may be reading this doc wrong, but doesnt it state it here?: > > > > > http://struts.apache.org/2.1.2/struts2-core/apidocs/org/apache/struts2/dispatcher/StreamResult.html > > > > Also saw these: > > http://stackoverflow.com/questions/257566/using-stream-result-with-struts2 > > http://sheetalshundori.blogspot.com/2008/02/struts2-dynamic-file-download.html > > > > > Date: Tue, 5 May 2009 15:23:23 -0400 > > From: d...@newfield.org > > To: user@struts.apache.org > > Subject: Re: stream result causing action to be called multiple times > > > > Andy wrote: > > > I have an action that returns a stream result type > > > > > <param > name="contentDisposition">filename="${attachmentFileName}"</param> > > > > This mistake is so common I'm wondering if there's some struts tutorial > > somewhere that gets it wrong. Did you copy that setting from somewhere? > > > > http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1 > > > > -Dale > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > _________________________________________________________________ > Hotmail® goes with you. > > http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009 >