Report Generation in Node.js Using Node-Jasper Package
问题 I am trying to generate a report using node-jasper package in node.js. When i write the code without class implementation then the code works fine following is the workable code. jasper = require('node-jasper')({ path: '../lib/jasperreports-5.6.0', reports: { hw: { jasper: '../jasperFiles/NodeIreportTest.jasper' } }, drivers: { mysql: { path: '../lib/com.mysql.jdbc_5.1.5.jar', class: 'com.mysql.jdbc.Driver', //odbc driver//sun.jdbc.odbc.JdbcOdbcDriver //mysqlDriver// com.mysql.jdbc.Driver