i am using jasper report and subreport for print purposes. when subreport are using the following error messages came.
" The supplied java.sql.connectionobject is null"
Anurag Blore
Ranch Hand
Joined: Jan 15, 2003
Posts: 74
posted
0
Are you trying to pass the connection Object to the subreport?
Ideally if you are using subreports in Jasper, you should get all your data in a collection and then pass all the data to main report which again can pass the data to sub report.
This is the way I have done the Jasper report.
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
I am sorry to say, but how is this problem related to JSF?