ava:361) ...
23 more
>
>
>
>> Date: Thu, 19 May 2011 18:03:39 +0200
>> From: a...@ice-sa.com
>> To: users@tomcat.apache.org
>> Subject: Re: Tomcat download stream gets broken
>>
>> Rob GB wrote:
>>>> No-one is going to read all that unfo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/20/2011 3:05 AM, André Warnier wrote:
> Christopher Schultz wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Rob,
>>
>> On 5/19/2011 12:29 PM, Rob GB wrote:
>>> Someone suggested commons IO could provide some cool stream AP
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob,
On 5/19/2011 12:29 PM, Rob GB wrote:
Someone suggested commons IO could provide some cool stream APIs,
I'll try all recommendations, including asynchronous writes.
Why not just let the DefaulsServlet serve the file
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob,
On 5/19/2011 12:29 PM, Rob GB wrote:
> Someone suggested commons IO could provide some cool stream APIs,
> I'll try all recommendations, including asynchronous writes.
Why not just let the DefaulsServlet serve the files?
- -chris
-BEGIN PGP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob,
*sigh*
We'll argue about this all week if someone doesn't just reformat your
code and go for it. Evidently, I've got nothing better to do.
On 5/19/2011 6:44 AM, Rob GB wrote:
> public void service(HttpServletRequest request, HttpServletRespon
cat.apache.org
> Subject: Re: Tomcat download stream gets broken
>
> André Warnier wrote:
> > Gerardo Corro wrote:
> >>>>> Trying gmail
> >>
> > That works.
> > Of course, you're going to expect people here to look at 50 lines of code.
> > O
André Warnier wrote:
Gerardo Corro wrote:
Trying gmail
That works.
Of course, you're going to expect people here to look at 50 lines of code.
Oh well..
Hi all,
I have a file download servlet running on Tomcat, the code is
...
However once in a while I get an error that prevents files
Gerardo Corro wrote:
Trying gmail
That works.
Of course, you're going to expect people here to look at 50 lines of code.
Oh well..
Hi all,
I have a file download servlet running on Tomcat, the code is
...
However once in a while I get an error that prevents files from being
downloaded
Looks like the client disconnected, that is a fairly normal scenario.
You have to be able to handle the error if a client disconnects prior to having
downloaded all the content
Filip
On 5/19/2011 8:46 AM, Gerardo Corro wrote:
Trying gmail
Hi all,
I have a file download servlet running on T
.java:560) at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)
... 23 more
> Date: Thu, 19 May 2011 18:03:39 +0200
> From: a...@ice-sa.com
> To: users@tomcat.apache.org
> Subject: Re: Tomcat download stream gets broken
>
> Rob GB wrote:
> >> No-one is goi
Rob GB wrote:
No-one is going to read all that unformatted code. Try again.> > p>
ok, trying again, it looks formatted in hotmail editor:
Get a better email program, cause it ain't formatted here.
Are you trying to send this "as html" by any chance ? If yes, then try "as plain text" if
your e
> From: Rob GB [mailto:rob_gar_...@hotmail.com]
> Subject: RE: Tomcat download stream gets broken
> ok, trying again, it looks formatted in hotmail editor:
Try using a real e-mail client. This is what it looks like to the rest of the
world:
http://marc.info/?l=tomcat-user&m=1305
> No-one is going to read all that unformatted code. Try again.> > p>
ok, trying again, it looks formatted in hotmail editor:
I have a file download servlet running on Tomcat, the code is
public void service(HttpServletRequest request, HttpServletResponse
response) throws IOException {
On 19/05/2011 11:44, Rob GB wrote:
>
> Hi all,
> I have a file download servlet running on Tomcat, the code is
>
> public void service(HttpServletRequest request, HttpServletResponse
> response) throws IOException {byte buf[] = new byte[1024 * 4];
> try {File file
14 matches
Mail list logo