Hi,
I have created a jrxml report with database values.But how could i will call this report from jsp Page. Can anyvody plz help me.
2 Answers:
Posted on January 4, 2018 at 3:13pm
I would suggest publishing the report on to the Jasper server and then use the REST API for calling the report.
If you still want to use the jsp, there are so many tutorials which can provide you with guidance. (http://www.javaknowledge.info/calling-jasper-report-from-java-web-applic...)
am using java to call jasper report.I have added the library files also.Still am getting error at
<%@ page import="net.sf.jasperreports.engine.*"%> //cannot find symbol
byte[] bytes = JasperRunManager.runReportToPdf(reportFile.getPath(), parameters, conn); //cannot find symbol.
please help me what i am missing