Mantis - Resin
Viewing Issue Advanced Details
5201 major always 08-30-12 10:19 08-30-12 13:29
evernat  
ferg  
normal  
closed 4.0.29  
fixed  
none    
none 4.0.31  
0005201: Blank page for jsp with a buffer size > 8 kb
The issue started here:
https://code.google.com/p/javamelody/issues/detail?id=245 [^]

A jsp contains:
<%@page buffer="8kb" %> Hello world
When displayed in a browser, it returns "Hello world" (good).

But whe the jsp contains:
<%@page buffer="12kb" %> Hello world
it returns a blank page (not good).
"Hello world" is expected, like when the buffer is 8kb, instead of the blank page.


To reproduce deploy the attached test245.war in Resin 4.0.29
and display the simple "hello.jsp" (with a 12kb buffer) in a browser.


Note: the webapp in test245.war contains a servlet filter, which adds a HttpServletResponseWrapper to the response, as you can see here:
https://code.google.com/p/javamelody/source/browse/trunk/javamelody-core/src/main/java/net/bull/javamelody/MonitoringFilter.java#182 [^]

https://code.google.com/p/javamelody/source/browse/trunk/javamelody-core/src/main/java/net/bull/javamelody/CounterServletResponseWrapper.java [^]

This is not supposed to prevent the display of the jsp whatever its buffer.
 test245.war [^] (1,722,219 bytes) 08-30-12 10:19

Notes
(0006027)
ferg   
08-30-12 13:29   
jsp/017q