Working with the servlet output stream directly
I have created a number of Views that manage the response stream themselves. The data i have is not html and is constructed dynamically so i don't need any templates, jsps, etc. Can someone comment on the best practice for doing this.
I am extending AbstractView and overriding renderMergedOutputModel. I set the content type and character encoding and write the data out. Should i now flush and close the output stream? Is this something that the spring framework and/or application server takes care off?
cheers