2006 IR Open Dicussion Posted August 26, 2006 Share Posted August 26, 2006 By: msprasanth - msprasanth JRException : No input source supplied to th 2006-03-02 20:13 Does anyone know what that means ?? JRException : No input source supplied to the exporter. Here is the peice of code that is generating it : JasperReport jasperReport = (JasperReport)JRLoader.loadObject(reportFile.getPath()); b = JasperRunManager.runReportToPdf(jasperReport, parameters, con); try{ response.setContentType("application/pdf"); response.setHeader("Pragma","cache"); response.setHeader( "Content-Disposition", "attachment;filename=Order_Details.pdf"); if(b != null){ ServletOutputStream sos; sos = response.getOutputStream(); sos.write(b); sos.flush(); sos.close(); } }catch (FileNotFoundException e) { e.printStackTrace(); return new ModelAndView(getSuccessView()); } catch (Exception e) { e.printStackTrace(); return new ModelAndView(getSuccessView()); } Thank you, please help By: Lucian Chirita - lucianc RE: JRException : No input source supplied t 2006-03-03 01:24 Which JR version are you using? Regards, Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now