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

How to pass a java object to jasper


ktrinad

Recommended Posts

By: tonythomas - tonythomas

How to pass a java object to jasper

2004-03-25 05:15

hi,

How can i pass a java class object to xml file? do i need to write any additional java code?

 

 

By: David Lim - aberrant80

RE: How to pass a java object to jasper

2004-03-26 01:02

Dude, you've got to elaborate what you mean by that. Pass an object to an XML file? Of course you can't. An XML file is a static piece of data...

 

 

By: tonythomas - tonythomas

RE: How to pass a java object to jasper

2004-03-26 01:08

suppose there is a class Car with variables carName,color and i have an object of this class. now i need to generate a pdf with data from this object.

is it possible?

 

 

By: RoyalScorpion - mohamedfakhry20

RE: How to pass a java object to jasper

2004-03-28 13:54

you can pass the value of the color to the report as a parameter

 

 

By: David Lim - aberrant80

RE: How to pass a java object to jasper

2004-03-28 18:35

yes, you can. look up the JRDataSource branch of classes.

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