Jump to content
JasperReports Library 7.0 is now available ×

Getting started


2005 IR Help

Recommended Posts

By: Ville Ahonen - va1210

Getting started

2004-09-20 02:59

I'm having serious trouble implementing my report that I've generated in iReport in my java application. I've created a custom datasource according to the specifications, but don't really understand how to combine the .jrxml, .jasper and .java files I've gotten from iReport with my class that implements JRDataSource.

 

So in short, I would be very very very thankful for a reference to a tutorial or some code explaining how to generate a report runtime using a custom datasource and files generated by iReport.

 

Thanks!

 

 

 

 

By: macoute - macoute

RE: Getting started

2004-09-20 05:14

First at all, you need to compile your report in order to obtain a .jasper file.

After, during the filling process, you specify your custom datasource.

 

JasperFillManager.fillReportToFile(...)

 

Read the datasource sample.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...