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

commons-logging in JasperReports


ramy

Recommended Posts

Hello,

   Ive been using JasperReports for a little over a week now and have made quite a bit of progress. I am at the point now where I would like to use a csv file of parameters for the queries contained in the jrxml files. Essentially, each line in the csv file is the equivalent of a single SQL query and so from each line in the csv file, I create a HashMap and add that hashmap to a vector of hashmaps. I then pass each hashmap in the vector to JasperFillManager.fillReportToFile(). Unfortunately, at this time, I'm only getting a blank pdf for each line in the csv file.

     I was hoping to enable the logging in JasperReports to determine what is happening behind the scenes to cause the pdf's to turn out blank. I know that I can add an xml tag to the jrxml that would display the columns, but that doesn't solve the problem. It only creates pdf's with the headers but no information.

    If someone could show me how to extract the log messages from JasperFillManager, it would be greatly appreciated.

Thanks,

Ramy

Link to comment
Share on other sites

  • Replies 1
  • 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...