In my Grails controller I have an image as byte []. I want to write this byte [] directly to the response.outputStream
I use the following code to do that:
Grails don't know that you've already processed response, and if you aren't returning anything grails tries to apply default logic.
Put
return null
at the end of your action.