> From: Diego Castorina [mailto:di...@quince.nl] > Subject: RE: Tomcat does not respond > > I use the ServletOutputStream because I need to write binary directly > in the response while with the PrintWriter I can only write character > text to the client.
Then you may need to resort to your own wrapper for the Response object, and it can coordinate the use of the Writer with the OutputStream. > I don't understand the reason for this exception since I don't use the > JsonView class for the requests that return a binary as output. The stack trace clearly shows you're mistaken. You may not use it explicitly, but something you're using in Spring obviously does. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org