aspose file tools*
The moose likes JSF and the fly likes problem in jasper report and subreport Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "problem in jasper report and subreport" Watch "problem in jasper report and subreport" New topic
Author

problem in jasper report and subreport

singh Mari
Greenhorn

Joined: Mar 25, 2009
Posts: 6
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
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
I am sorry to say, but how is this problem related to JSF?
Anurag Blore
Ranch Hand

Joined: Jan 15, 2003
Posts: 74
This problem is not related to J?SF it related to Japer Rports
Jasper Reports
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Sure, but he posted it in the JSF forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in jasper report and subreport