Congrats on the good news Z
Martin
__
> Date: Thu, 14 Nov 2013 11:14:20 +1100
> Subject: Re: Stream Result Returns Empty File
> From: zo...@sparecreative.com
> To: user@struts.apache.org
>
> Found the issue.
>
Found the issue.
I hadn’t set the contentLength parameter.
In the latest update to 2.3.15 if the contentLength isn’t set it generates
a zero length stream.
Once I set contentLength to tempFile.length() it all worked again.
Z.
On 13/11/2013 3:34 pm, "Zoran Avtarovski" wrote:
>I¹m seeing a r
Hi folks i'm facing the same problem.
if a setup *struts.locale=en_GB* in struts.properties I get
ISO-8859-1 instead of UTF-8 in some result-type text/plain received.
before set up this locale property it worked fine... and all other GETs and
POSTs queries are working as expected in UTF-8...
Is t
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
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
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
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
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
://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
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
ê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
>
>
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
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
As per BNF syntax [1], the content disposition must start with either
the "inline" or "attachment" string. The filename need not be quoted:
example:
attachment; filename=whitepaper.pdf
[1] http://www.ietf.org/rfc/rfc2183.txt
2008/9/3 Geffrey Caruso <[EMAIL PROTECTED]>:
> Hey Everyone,
>
>
>
> Qu
I assume that you're talking about a Struts 2 portlet since you're
saying "within a portal"? If not, just disregard my response.
A (jsr168)portlet can't render binary content (some jsr168 portlet
containers have proprietary extensions to do this, but it's not
supported by the framework), so you ne
15 matches
Mail list logo