Hi all,

In our applications we often render PDF's to the response's outputStream. Click templates of the other hand uses the response's writer.

If an exception is thrown after response.getOutputStream is called, Click will try and render the ErrorPage using the response.getWriter which leads to the exception:

  getOutputStream() has already been called for this response

Is there an easy way to determine whether its safe to invoke getWriter?

kind regards

bob

Reply via email to