Jump to content
We've recently updated our Privacy Statement, available here ×

calling jasper reports in java


sandeepcitigori

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi, Sandee.

  1. Visit http://whitemagicsoftware.com/books/indispensable/
  2. Download the Software (v1.0.0) - it's free.
  3. Take a look at com/whitemagicsoftware/report/ReportImpl.java

See also the attached file for a minimal example of how to create a PDF using JasperReports. You will have to supply your own .jasper file (compiled from a .jrxml file). This presumes a database connection to a local postgresql database is possible. You will have to change the database connectivity to match your database configuration and software.

Read the JasperReports API to find out how to compile .jrxml files to .jasper files.

--
Read chapter 15 of Indispensable, a book on JasperReports, available at:
http://www.whitemagicsoftware.com/books/indispensable/

Link to comment
Share on other sites

Thank you soo much for your reply ...

And i have one more please give me the process for it ...

" We have two reports .... Report1 is giving the output of total departments in a company ... So now i want click on the department number generated from report1 and that should pass as input to report2 and that will give the individual department details ."

Please help me in this part.

I tried in many ways but i am not getting the exact output.So please please give me the exact process . 

Link to comment
Share on other sites

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...