cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25694] - [PATCH] JSPEngineImplNamedDispatcherInclude incorrectly converts bytes to characters
Date Mon, 05 Jan 2004 14:54:43 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25694>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25694

[PATCH] JSPEngineImplNamedDispatcherInclude incorrectly converts bytes to characters

unico@hippo.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From unico@hippo.nl  2004-01-05 14:54 -------
I've applied your patch. Thanks! One slight change I made was not to flush the
writer before writing the byte to the output stream because the situation that
both writer and output stream are used during the same response should not
happen, as per servlet spec. Instead, to ensure this I modified the related
MyServletResponse methods to throw IllegalStateExceptions to catch these situations.

I've also fixed the default JSPEngineImpl accordingly.

Mime
View raw message