Java 类org.springframework.web.servlet.view.jasperreports.JasperReportsPdfView 实例源码

项目:openlmis-stockmanagement    文件:JasperReportService.java   
private ModelAndView generateReport(String templateUrl, Map<String, Object> params) {
  JasperReportsPdfView view = new JasperReportsPdfView();
  view.setUrl(compileReportAndGetUrl(templateUrl));
  view.setApplicationContext(appContext);
  return new ModelAndView(view, params);
}