Hi Andy, is multiple equal 2? If so maybe the browser is doing it because it doesn't know everything about this file - size comes to mind. If i remember correctly some browsers will do that.
best greetings, Pawel Wielgus. 2009/5/4, Andy <andrh...@hotmail.com>: > > Hi, I have an action that returns a stream result type and for some reason > my action is getting called multiple times: > > <result name="attachment" type="stream"> > <param name="contentType">${attachmentContentType}</param> > <param name="contentDisposition">filename="${attachmentFileName}"</param> > </result> > > This causes some inefficiency since the action is retrieving an image from > the database on each call. IDeas? > > I am on 2.16 and using default interceptor stack. > > Thanks > > _________________________________________________________________ > Hotmail® goes with you. > http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org