Ahab Abouzour wrote:
Hello all,
My servlet stopped working when I moved from
Tomcat4.0.6 to Tomcat5.5.9. After investigating the
problem, it turns out that if the
HttpServletResponse.setContentLength() method is
called, subsequent calls (e.g. setHeader(),
addHeader(),addCookie()..etc) into the
H
This is expected behavior and there are bug reports (closed as INVALID)
against this issue.
The 2.5 servlet spec clarifies the use of setContentLength() and allows more
headers to be set even if setContentLength(0) is called.
-Tim
Ahab Abouzour wrote:
Hello all,
My servlet stopped working