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

JasperReports Plugin:How to specify JDBC connection?


godbole

Recommended Posts

Hello,

I created a .jrxml report template in iReports that is using an Oracle database to retrieve data. Now I want to plug in this report into a existing webapp using the Struts2 plugin. The webapp uses JDBC to connect to the database. I'm not able to figure out what value to use for the datasource param in the struts.xml (<param name="dataSource">???</param>) so that when I click on view report on the GUI, the compiled report template from the location param would be called and the data from the Oracle database given in the datasource param would be used to generate the report.

I already have the SQL written in the report template and want some way of just passing the Oracle connection to the .jasper file.

Any help is much appreciated!

Thanks!

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