abhijitgadekar Posted May 25, 2007 Share Posted May 25, 2007 Hi, I know how to integrate Jasper Reports with JSP.Following is the code that I put in my index.jsp and reports are displayed in the browser. JRHtmlExporter exporter = new JRHtmlExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out); exporter.exportReport(); Now,My question how to do this in PHP. I dont know PHP. But I am guessing that i just need to replace the "out" parameter of JSP (the type of out is jsp.JspWriter) with equivalent of PHP in the following line . exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out); Is this correct? If so please tell me the equivalnt of "out" object in PHP. Otherwise please send me a piece of code with jasper reports in PHP. Thanks,Abhijit Link to comment Share on other sites More sharing options...
swood Posted May 25, 2007 Share Posted May 25, 2007 Have a look at JasperServer. You can run reports via web services. There is an example PHP application that operates as a JasperServer web services client available for download. ShermanJasperSoft 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