From 1c8d3e0f335742d468bf4177d47b2ca319cf92f6 Mon Sep 17 00:00:00 2001 From: Francis Gonzales Date: Tue, 10 Jun 2014 17:54:28 -0500 Subject: [PATCH 1/3] Update index.php --- index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index d88ef6d..4af80f1 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,4 @@ 0){ - +if (!empty($_REQUEST) && count($_REQUEST) > 0) { $query = "SELECT customer.first_name AS customer_first_name, customer.last_name AS customer_last_name, customer.email AS customer_email @@ -30,6 +29,7 @@ } ?> + Jasper Report Example @@ -52,4 +52,4 @@

- \ No newline at end of file + From 8610942b512d54e93e7983dedad9df9a71ee3234 Mon Sep 17 00:00:00 2001 From: Francis Gonzales Date: Wed, 11 Jun 2014 16:41:07 -0500 Subject: [PATCH 2/3] Update index.php --- index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 4af80f1..9b4b876 100644 --- a/index.php +++ b/index.php @@ -23,8 +23,10 @@ customer.last_name AS customer_last_name, customer.email AS customer_email FROM customer customer"; - - $obJrepor = new Jreport($query, 'customer.jrxml', array('title'=>'Customer'), 'report'); + $params = array('title'=>'Customer'); + $fileName = 'customer.jrxml'; + $outputFileName = 'report'; + $obJrepor = new Jreport($query, $fileName, $params, $outputFileName); $obJrepor->exportar($_REQUEST['format']); } From b14bf621acb10c00f651e8996fa5c0efbbb7cf1a Mon Sep 17 00:00:00 2001 From: Francis Gonzales Date: Mon, 22 Sep 2014 16:35:22 -0500 Subject: [PATCH 3/3] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 39bb291..3f4feb4 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ How to configure JasperPHP 8. Include path of the library in php (require_once("http://localhost:8080/JavaBridge/java/Java.inc")), make sure path is correct and tomcat server is running. 9. run index.php +FYI +======= +There is a bug when you use Tomcat 8. + License ======= This program is free software, under the GNU/GPLv3 license terms.