Hi Justin,thank you. The reason of the exception was clear to me but the solution for solving was not! :-)However, in case it can help someone I found out how to solve my issue: I dont call response.getWriter() anymore for request that has content-type != text/html. For such requests, getWriter() ha...