File file = createDecisionTable(request);
FileInputStream is = null;
try {
is = FileUtils.openInputStream(file);
// return new FileDownloadResult(request, file.getPath(), file.getName(), "xls/plain");
return new ByteArrayDownloadResult(request,
IOUtils.toByteArray(is), "xls/plain", file.getName());
} catch (IOException e) {
logger.error(e.getMessage(), e);
} finally {
IOUtils.closeQuietly(is);