location with log4j, and will have to figure out how to put
it in the struts.xml file for the action.
Thanks for all the help.
-Original Message-
From: Balwinder Kumar [mailto:balwinder@gmail.com]
Sent: Tuesday, April 21, 2009 10:51 PM
To: Struts Users Mailing List
Subject: Re: Jaspe
I would suggest that first give the complete absolute path and check if
the program is working fine, just to ensure, there is a problem with
path only.
Once established problem is with path only, I may help you further.
Regards,
Balwinder Kumar
Security Management wrote:
I'm using the tutori
-
From: Dave Newton [mailto:newton.d...@yahoo.com]
Sent: Tuesday, April 21, 2009 4:37 PM
To: Struts Users Mailing List
Subject: Re: Jasper Plugin cannot find file
Please start new threads for new topics.
Security Management wrote:
> I have put a file here:
>
Please start new threads for new topics.
Security Management wrote:
I have put a file here:
/jasper/report.jrxml
Without any context I have no idea where that file is: is it on the
classpath? Is it in the webapp root?
/jasper/scrounger_report.jasper
Serg,
I'm not an expert at jasper reports, but I think parameters are pulled from
the datasource. In that case, the jasper report result wraps the
datasources in a ValueStackDataSource. (a class located in the jasper
reports plugin) I would set a few breakpoints in there to see why the
jasper pl
have you tried using
and passing the parameters to JasperReport manually using a HashMap
something like this...
HashMap parameters = new HashMap();
parameters.put("test", test);
JasperReport jasperReport =
JasperCompileManager.compileReport(jasperD
Thanx for your detailed reply.
What I did was to add the following fragment of code in the
JasperReportResult.java of the jasperReport-plugin
.
.
JasperReport jasperReport = (JasperReport) JRLoader.loadObject(systemId);
/**
* Edited
*/
JRParameter []reportParameters = jasperReport.getParameters
Sure. I've attached an action that will allow you to use jasperreports
to write to the output stream. You'll have to tweak the classpath. Mine
probably won't work. It will load, compile and cache jrxml files located
in /WEB-INF/reports. It uses a javax.sql.DataSource from JNDI. It also
will tak
8 matches
Mail list logo