Hi Andy,
when calling getWriter() following a call to getOutputStream() on a ServletRequest
ok, you mean ServletResponse object (ServletRequest has a getReader() and a getInputStream())
1. What happens, if multiple calls are made to either getWriter() or getOutputStream? Same behaviour?
It will just work, as long as you don't mix them
2. In case calling getWriter() multiple times doesn't throw a RuntimeException, are the returned references identical or different?
They should refer to the same object
Regards,
Frits