@DoValidation( v = {ValidateDownload.class}, to = "/hello/hello.html") @RequestMapping(value = "/download") public DoxModelAndView downloadFile(HelloForm form) throws Exception { Downloads.downloadFile(Paths.get("//LS-XHLE38/share/var/", form.getFileName())); return download(form); }
@RequestMapping(value = "/output-doxls") public void outputReportDoxls(HelloForm form) throws Exception { Downloads.downloadXls( "templates/report/xls/nested_command_template.xls", helloService.createXlsValuesSetter(form)); }