Activity #2784
open
Added by Thara S Pillai about 2 years ago.
Updated about 2 years ago.
Description
Develop jasper integrated with DB procedure to get pension claim data submitted by member in proper format
The format of PDF to share
- Description updated (diff)
- Assignee set to Sherin Sebastian
To resolve subreport issue:
Compile jrxml to jasper from member application.
Create a function that accepts JRXML files and generates Jasper files. This function to execute once to generate the Jasper files, after which it can be commented out for the purpose of report generation.
String sourceFileName1 = request.getServletContext().getRealPath("/WEB-INF/Reports/form10DClaim/dbbased1.jrxml");
String compiledFileName1 = request.getServletContext().getRealPath("/WEB-INF/Reports/form10DClaim/dbbased1.jasper");
String sourceFileName2 = request.getServletContext().getRealPath("/WEB-INF/Reports/form10DClaim/dbbasedsub1.jrxml");
String compiledFileName2 = request.getServletContext().getRealPath("/WEB-INF/Reports/form10DClaim/dbbasedsub1.jrxml");
JasperCompileManager.compileReportToFile(sourceFileName1, compiledFileName1);
JasperCompileManager.compileReportToFile(sourceFileName2, compiledFileName2);
Also available in: Atom
PDF