ireport « JSTL « JSP-Servlet Q&A





1. jsp and ireport    java-forums.org

2. Jsp + Ireport Question    java-forums.org

PLESASE TELL ME ABOUT ERROR???? <%@ page import="net.sf.jasperreports.engine.*" %> <%@ page import="net.sf.jasperreports.engine.design.*" %> <%@ page import="net.sf.jasperreports.view.*" %> <%@ page import="java.util.*" %> <%@ page import="java.sql.*" %> Welcome

Welcome
<% try{ JasperReport jReport=null; JasperPrint jPrint=null; JasperDesign jDesign; Connection conn; Statement stmt; ResultSet rs; Class.forName("com.mysql.jdbc.Driver"); conn = DriverManager.getConnection("jdbc:mysql://localhost:/tes","root",""); out.println("koneksi ok
"); jReport = JasperCompileManager.compileReport("test.jrxml"); jPrint = JasperFillManager.fillReport(jReport,new HashMap(),conn); JasperViewer.viewReport(jPrint); } ...