JRResource imageResource = new JRImageResource(reportFile).setReportParameters(parameters)
.setReportDataSource(new WebappDataSource());
add(new ResourceLink<Void>("linkToImage", imageResource));
JRResource csvResource = new JRConcreteResource<CsvResourceHandler>(reportFile,
new CsvResourceHandler()).setReportParameters(parameters).setReportDataSource(
new WebappDataSource());
add(new ResourceLink<Void>("linkToCsv", csvResource));
}