Professional Documents
Culture Documents
Database
Database
DBConnection.init();
System.out.println(System.getProperty("user.dir"));
System.out.println(System.getProperty("user.dir") +
"\\reports\\Student_Category.jrxml");
JasperDesign Jd = JRXmlLoader.load(System.getProperty("user.dir") +
"\\reports\\Student_Category.jrxml");
JR=JasperCompileManager.compileReport(Jd);
JP=JasperFillManager.fillReport(JR, m, DBConnection.getConnection());
JasperViewer.viewReport(JP,false);