godbole Posted January 13, 2009 Share Posted January 13, 2009 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now