Mantis - Resin
Viewing Issue Advanced Details
1915 minor always 07-30-07 13:03 08-28-07 15:56
ferg  
ferg  
normal  
closed 3.0.23  
fixed  
none    
none 3.0.25  
0001915: OutputStream issue with encoding
(rep by Takahiro Fukuda)

A file is breaked when it is downloaded with ServletOutputStream on JSP.
(Resin 3.0.23)

This problem occurs when it satisfy following all conditions.
 - Wrapping to HttpServletResponse in a Filter.
 - Setting to charset which is 2bytes caractor encoding at contentType
   at JSP's page directive.
 - Executing ServletOutputStream#write().

I attach the reprocedure program.
Please deploy wrapped-test.war, and then, display index.html.


The problem occurs when it accesses 11-Shift_JIS-wrap.jsp or 15-UTF-8-wrap.jsp.
Please see ProblemOfContentType&WrappedResponse.xls.

Could you fix the problem,plase?


Notes
(0002165)
Leos   
07-31-07 03:04   
Maybe another occurrence of my previously reported issue 0001874? That seems to be fixed in the development version 3.1 - however, could we get the fix for 3.0.24, too?