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
I¹m seeing a really strange issue in one of our struts apps with a stream
result where the downloaded file is empty (zero bytes).
I can¹t see where it is going wrong. I dynamically generate a zip file in
tomcat¹s temp folder and then use a Buffered input reader to pass off to the
struts stream.
I
3 matches
Mail list logo