title: Will calling HttpServletResponse.reset() reset the OutputStream so it can be obtained again?
body: <p>Here is a situation. Custom servlet obtains writer and it is going to do some work, however exception happens, so control is taken by some servlet framework. The framework has capability to report problem directly in a browser. So it resets current response and obtains outputstream to report problem in. Since a Writer is already taken from response object, it raises an exception. So question is again, should reset function make forgotten returned stream or writer, or raising exception is legit? Servlet specification doesn't give clear answer, so I hope on help of community. Yes, I am not only developer of servlet framework, I am a developer of servlet container as well, so I need to know appropriate behavior of every component.</p>