seems a topic long ago. However, I just tried the wrapper and got the following results. Hope somebody knows the cause.
The the setHeader and setContentLength do get called. I got results correctly. But the following two headers are missing. Were they set before I create the wrapper? How to catch those then?
Server: Apache-Coyote/1.1
Date: Thu, 11 Jun 2009 07:52:33 GMT
In addition, the following two were not caught either
Content-Type: text/html
Content-Length: 636