I'm using Play Framework 2.0.3 to create an application which delivers Excel files that should be downloadable by the user.
response().setContentType("application/x-download");
response().setHeader("Content-disposition","attachment; filename=tradeLogTest.xlsx");
but,how to get the outputstream from response()
?tks