RE: Jasper Plugin cannot find file

2009-04-22 Thread Security Management
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

Re: Jasper Plugin cannot find file

2009-04-21 Thread Balwinder Kumar
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

RE: Jasper Plugin cannot find file

2009-04-21 Thread Security Management
- 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: >

Re: Jasper Plugin cannot find file

2009-04-21 Thread Dave Newton
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

Re: Jasper plugin. Passing additional parameter

2007-11-05 Thread Tom Schneider
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

Re: Jasper plugin. Passing additional parameter

2007-11-05 Thread Manjesh Reddy
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

Re: Jasper plugin

2007-07-10 Thread aretobios
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

Re: Jasper plugin

2007-07-10 Thread Chad S. Lauritsen
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