2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: susun - wellrun About JasperRunManager Question 2003-07-08 05:02 When i use JasperRunManager.runReportToPdf(String ,Map , Connection ) in the Servlet,it return null,but i think the parameters are all right. The first para String is the absolute filepath and the Map and Connection are all right. But when i use this method in the application,it throw exception as below: java.io.StreamCorruptedException: invalid stream header Could you give me any mind? Thank you By: susun - wellrun RE: About JasperRunManager Question 2003-07-08 19:58 JasperRunManager.runReportToPdf(String ,Map,Connection),this method's first parameter is the xml file absolute path? By: susun - wellrun RE: About JasperRunManager Question 2003-07-08 21:11 It is useful when i use this method JasperRunManager.runReportToPdf(JasperReport,Map,Connection),but at run time,it throw such exceptions: C:JBuilder8samplesWelcomeTomcatjq_good_detail.java:4: package dori.jasper.engine does not exist import dori.jasper.engine.*; what's the problem about it? it is the Web server Tomcat's problem? Thank you By: susun - wellrun RE: About JasperRunManager Question 2003-07-09 01:00 I refer to the Web App of the jasper example and it set a system property named "jasper.reports.compile.class.path",after i set it as the example,then it is OK. Web server find the classpath from some certain path. So i dont understand it.Why i need this property? 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