I am using spring mvc with freetemplate.
In asp.net, you can write straight to the browser using Response.Write(\"hello, world\");
Can you do this in spring
If you want to send something to OutputStream, even if you are using Freemaker, just use @ResponseBody
example:
@RequestMapping(value = "report1", method = RequestMethod.GET, produces = "application/pdf") @ResponseBody public void getReport1(OutputStream out) {