[EMAIL PROTECTED] wrote:

>
>Are you sure you are looking at the right source ? I'm pretty sure 
>the PrintWriter is doing the buffering - most likely in the Char2Byte 
>conversion.
>
>I did a lot of work on this area and I'm pretty sure I'm right on this,
>there is a 8k buffer for everything that converts ( at least in
>all VMs I worked with ). Jad may help you locate it.
>
Yep, you are right.  PrintWriter internally wraps the supplied 
OutputStream with a BufferedWriter.  Didn't see that the first time 
through.

>
>I do agree  ErrorReportValve has a bug and shouldn't touch the 
>response if 2xx status, but that's a different story.
>
Well, that's what I really care about.

>>What is your opinion about 3xx codes?
>>
>
>I think it would be good to not touch them - the user does have a way to 
>generate 'nice' messages ( using <error-code> in web.xml ).
>
>But I don't think the spec explicitely forbids us to change the body
>on 3xx. I would make this configurable at least.
>
Sounds reasonable.

-Steve



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to