--- On Thu, 11/20/08, Milan Milanovic wrote:
> WARN
> net.sf.jasperreports.engine.query.JRJdbcQueryExecuter:89 -
> The supplied java.sql.Connection object is null.
> 
> I check, my Connection object which is attribute of my
> action class is not null in action method which show report. 
> Why my Connection is null, do you have any idea ?

Not off the top of my head, but I'm not sure how you're trying to use it. The 
JR plugin's "dataSource" config element is meant to be a collection that will 
be displayed by the report.

If you're passing the connection object in the parameters map and accessing it 
appropriately in the report definition then I don't know why it wouldn't work, 
but I've never used the plugin like that--that's a non-standard usage I haven't 
needed to explore.

> One more thing, is it possible to show report in new window
> and that my application redirect to some web page in main window ?

I suppose, maybe via JavaScript or something.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to