RE: stream result causing action to be called multiple times

2009-05-05 Thread Andy
Yep that totally fixed it. Thanks!! Andy > Date: Tue, 5 May 2009 16:28:53 -0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: stream result causing action to be called multiple times > > Andy wrote: > > I may be reading this doc wrong, but

Re: stream result causing action to be called multiple times

2009-05-05 Thread Wes Wannemacher
I take that back, I'm having trouble getting into svn, I guess I just hadn't noticed that the commit failed. Anyhow, I'll have it updated as soon as svn comes back to life. -Wes On Tue, May 5, 2009 at 4:41 PM, Wes Wannemacher wrote: > Dale, I updated the source before you had put the issue in t

Re: stream result causing action to be called multiple times

2009-05-05 Thread Wes Wannemacher
Dale, I updated the source before you had put the issue in the JIRA. I'm going to go ahead and close the JIRA, I just didn't want you to think nothing was done since no subversion commits will be tied to it. -Wes On Tue, May 5, 2009 at 4:28 PM, Dale Newfield wrote: > Andy wrote: >> >> I may be r

Re: stream result causing action to be called multiple times

2009-05-05 Thread Dale Newfield
Andy 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 It does. Thanks for the pointer. I just created a JIRA issue (WW-3117) to fix that javadoc. Also saw these: http

Re: stream result causing action to be called multiple times

2009-05-05 Thread Chris Pratt
2-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

RE: stream result causing action to be called multiple times

2009-05-05 Thread Andy
://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 retu

Re: stream result causing action to be called multiple times

2009-05-05 Thread Dale Newfield
Andy wrote: I have an action that returns a stream result type filename="${attachmentFileName}" 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-s

RE: stream result causing action to be called multiple times

2009-05-05 Thread Martin Gainty
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: andrh...@hotmail.com > To: user@struts.apache.org > Subject: RE: stream result causing action to be called multiple times > Date: Tue, 5 May 2009 08:40:43 -0500 > >

RE: stream result causing action to be called multiple times

2009-05-05 Thread Andy
g on a Mac. OSX/Firefox. I will try testing on windows/IE. Thanks > Date: Tue, 5 May 2009 04:08:49 -0200 > Subject: Re: stream result causing action to be called multiple times > From: poulw...@gmail.com > To: user@struts.apache.org > > Hi Andy, > If so maybe the b

Re: stream result causing action to be called multiple times

2009-05-04 Thread Paweł Wielgus
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 : > > Hi, I have an action that returns a stream result type

stream result causing action to be called multiple times

2009-05-04 Thread Andy
Hi, I have an action that returns a stream result type and for some reason my action is getting called multiple times: ${attachmentContentType} filename="${attachmentFileName}" This causes some inefficiency since the action is retrieving an image from the database on each call. IDeas?