RE: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Robert Priest
] avoiding getOutputStream() being called twice Hi! Robert Priest wrote: > How can I pass a byte[] down to my client, without calling > "response.getOutputStream" explicitly? > > Here is my problem: > > I want to pass a file down to the client via a jsp page. At fi

RE: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Robert Priest
call getOutputStream on top of that. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 11:23 AM To: Tomcat Users List Subject: RE: [OT] avoiding getOutputStream() being called twice Howdy, >How can I pass a byte[] down to my cli

Re: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Philipp Taprogge
Hi! Robert Priest wrote: How can I pass a byte[] down to my client, without calling "response.getOutputStream" explicitly? Here is my problem: I want to pass a file down to the client via a jsp page. At first glance, I can't tell you why you get this error, but IMHO you could save yourself a l

RE: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Shapira, Yoav
Howdy, >How can I pass a byte[] down to my client, without calling >"response.getOutputStream" explicitly? Can't. >Which works for me. However, I am in danger of getting the >"getOutputStream() called twice" error. Doesn't always happen, but >sometimes >it does. When and why does it happen? >