https://issues.apache.org/bugzilla/show_bug.cgi?id=51952

--- Comment #7 from Jess Holle <je...@ptc.com> 2011-10-05 14:46:20 UTC ---
I'd think the ideal case might be to hide the sendRedirect() response body
generation from getOutputStream() and getWriter() entirely.  getOutputStream()
and getWriter() could really return no-op output streams and writers after
sendRedirect() has been called [as the servlet spec says nothing should be
written to the response after this point] and throw IllegalStateExceptions only
when things *outside* sendRedirect() have tried to obtain both an output stream
and a writer.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to