Hi master sir I flow your guidance but when I give complied file name that give me error on that line
See my code
Connection conn = null ;
try {
javax.naming.Context ctx = new javax.naming.InitialContext() ;
DataSource ds = (DataSource)ctx.lookup(" java:comp/env/jdbc/Travel" ) ;
conn = ds.getConnection() ;
} catch (Exception ex) {
error(" Error counting rows: " + ex.getMessage() );
}
JasperReport jasperReport;
JasperPrint jasperPrint;
jasperReport = JasperCompileManager.compileReport("c:/fahimjasper/fahim.jasper");
sir what wrong with this code
jasperReport = JasperCompileManager.compileReport("c:/fahimjasper/fahim.jasper");
sir this line give me error
sir please give idea how I create pdf give all remaining step after this error line
thank�s
amir
See my code
Connection conn = null ;
try {
javax.naming.Context ctx = new javax.naming.InitialContext() ;
DataSource ds = (DataSource)ctx.lookup(" java:comp/env/jdbc/Travel" ) ;
conn = ds.getConnection() ;
} catch (Exception ex) {
error(" Error counting rows: " + ex.getMessage() );
}
JasperReport jasperReport;
JasperPrint jasperPrint;
jasperReport = JasperCompileManager.compileReport("c:/fahimjasper/fahim.jasper");
sir what wrong with this code
jasperReport = JasperCompileManager.compileReport("c:/fahimjasper/fahim.jasper");
sir this line give me error
sir please give idea how I create pdf give all remaining step after this error line
thank�s
amir