jasper-reports

Maven Embedded Jetty Container fails to load Taglibs: Unable to initialize TldLocationsCache

Hi all, I'm using the Maven Cargo Plugin to startup a Jetty web container for running some integration tests in a separate project module. The problem i'm battling with occurs when i added taglibs into the jsp pages and tried hitting them from the integration tests. When jetty tries to compile the pages it fails with this error: org....

How to create sub-reports using XML DataSources in Jasper?

I'm using iReport and I need to create a sub-report usign a XML DataSource. I will have only one XML for the hole report. Something like: <question> <text>What do you think about SO?</text> <options> <option>Like it</option> <option>Really like it</option> <option>Love it</option> </options> </question> The main repo...

JasperReport size limit

Is there a way to set a limit on the size of a JasperReport? We just looked at a WebSphere 6.1 Heapdump and someone tried to create a report and it was 1.5GB of memory in the heap. And it brought our Websphere server to its knees. Thanks, T ...

Partial printing in Jasper Report

Please solve my problem. I'm using Jasper Report in struts framework, My problem is could not be stretch the field in some cases, since the bracket is appear without space in the text field, then the column is not stretch. I already choose the isStretchWithOverflow="true" option, but no changes are made. Please help me. ...

Break the PDF document after 100 pages

I am working with Jasper and iReport tool. One of the requirements the client wants is that the PDF file will be generated to a 100 page document only. Could you please help me? How can I generated the 100 page PDF document? ...

Parsing a multipart SOAP response in Flex?

I have a Flex application that needs to grab reporting data from a Jasper server, through the JasperReports Web Services API. Flex Builder 3 does a nice job of generating the web services consumption code, with one exception. If you ask for a directory list or an accounting of report parameters, Jasper returns plain XML in the SOAP wra...

Jasper in Jetty 6 throws exception for JSTL tag

I'm trying to run an application in jetty that runs fine in Tomcat 5.5. The app uses servlet 2.4 and JSP 2.0. Jetty/Jasper is throwing this exception: org.apache.jasper.JasperException: /WEB-INF/tiles/layout/main.jsp(85,55) PWC6340: According to the TLD, rtexprvalue is true, and deferred-value is specified for the attribute items of t...

Generating and Displaying PDF file in Flex/Java

We have Flex on the front end and Java on the back end. When a user will request for a PDF file, request will go to the Java backend, where a PDF file will be generated using Jasper Reports. What we dont know is how to display this PDF file in browser; since we dont want to use JSP/Servlets etc - It has to be flex only. Any suggestions? ...

Jasper in jetty throws IllegalStateException on getOutputStream but not on Tomcat

I have a web application that's currently running under Tomcat 5.5.25. I'm attempting to port it to Jetty 6 to take advantage of the rapid refresh time for jsp and UI changes especially. Since my JSP files are JSP 2.0 compliant, I'm running jetty under maven using the configuration suggested on the maven jetty plugin web site. This con...

Is Jasper Reports the appropriate solution to display reports in a web application?

We want to generate Reports either embedded as html pages in a web app or downloadable as a pdf. Hence I came across Jasper Reports because it thought it would fullfill these requirements. Currently we assume our report will have about 50-100 pages, consisting of nearly only histograms and some tables. The data is retrieved by some exp...

Using Jasper Report

I am using JSP/Servlets to integrate the JAsper report tool to generate reports in 5 different formats. After getting the output in the HTML or Excel format, Can we sort the fields of the table so that the page is dynamic? I am not sure how to do this since Jasper is already called using servlet and the data is filled. ...

Jasper Reports Crosstab Query

Hi, I'm using Jasper Reports/iReports crosstabs to create a matrix of student and results. So for example Jim is doing subjects A, B, C and Sally is doing A, C What I want is something like: Subj-A Subj-B Subj-C Jim P M D Sally D D But as my SQL orders by name then subj...

Dynamic querystring in JRXML

Hi everyone, I'm trying to build a report that would be smart enough to modify slightly its sql query based on an input parameter of some sort. For example if that special modifying parameter value is "1", it adds a field in the select and adds a group by clause to the query. I've looked into java expressions, but they don't seem to...

Jasper report using same template to render in CSV and PDF formats

We are using one template to render the report in CSV and PDF format. But the problem is we need to have report split into pages in PDF but not in CSV. Is it possible to alter the rendering options based on the format in one template. So that we have CSV without pagination information and PDF divided into page. In such a case 2 separate ...

Subreports within a subreport (IReport-Jasper).

Hi, I have a requirement that needs to have a subreport within a subreport. Is there a sample code which I can refer? Thanks in advance. ...

Datawarehousing with Jasperforge, what packages i really need to start with?

For a big commercial online shop my company needs to start a business intelligence project. We have done the online shop; there are probably only a couple of data sources, so the integration i think it's quite easy. We're creating the data warehouse database, revisiting the actual database from another point of view. I start to look...

Jasper in Equinox - does not resolve jstl core uri

I'm currently researching OSGi with Spring, and working through a couple of examples from Pro Spring Dynamic Modules for OSGi. My example web-app has a single controller like: @Controller public class HelloWorldController { private HelloWorldService helloWorldService; @RequestMapping(method = RequestMethod.GET) @ModelAttri...

How to configure iReport 3.5 for JasperReports compatibility with lower versions ?

Hello, Could somebody please tell me how I can configure iReport 3.5 (nb) to use "compatibility mode" and generate report XML for lower versions of JasperReports, ie JasperReports 1.x syntax ? iReport 3.0 had this feature, and now I can't seem to find it in 3.5. Thank you kindly for any responses. ...

Jasper Reports - Print when group changes

I am trying to print the last record of the group but the expression "print when group changes: True" does not seem to work. It simply prints all the records of that group. (I've grouped the record based on username). ...

Highlight some text in a Jasper Reports viewer

I want to highlight some parts of the reports i'm generating for display. I don't want to change the report definition. I want to highlight the output at runtime. But the JRViewer i'm using doesn't really have much of an API. And manipulating the JasperPrint object with setForecolor/setBackcolor before displaying it, didn't seem to chan...