tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Servlets that use response.getOutputStream(): do they play nicely with Tomcat's error pages?
Date Fri, 01 May 2009 21:34:04 GMT
Dave Cherkassky wrote:
> Chris,
> Your interpretation is correct.  I am not having any troubles with headers.

There is method to my madness ;)
You need to read the bug and associated svn commits in detail.

> So I think that this line of investigation is a dead end.

Long story short.

Old error handling: Reset the response. Leave usingWriter flag alone.
New error handling: Reset the buffer. Reset usingWriter flag.

Tomcat 4 is using the old method. Hence the problem you are seeing.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message