|
From: Colin Y. <col...@gm...> - 2006-07-25 15:22:38
|
> > If binary data was written directly to the response and then an > exception thrown, I'm not sure what exactly would happen, but if you're > streaming a dynamic image or something like that I'm sure you can safely > assume whether Spring blows up or not that you'll get a bogus response > from the server. The ServletResponse doesn't support using *both* getWriter or getOutputStream, it is one or the other. As you said, if the browser has started receiving, and expecting binary data it would be non-sensical to send html as the content type would all be wrong. |