jcatubay Posted April 30, 2007 Share Posted April 30, 2007 My subreport is working well when I generate the report using iReport. In iReport I use ".\SubReport.jasper" as my subreport expression class. But when I use it in my application it generates an error that it cant find the file ".SubReport.jasper". I'm using absolute path in my application, "C:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/appsname/WEB-INF/reports/MainReport.jrxml" for the main. I tried using absolute path in iReport using "C:\Program Files\apache Software Foundation\Tomcat 5.5\webapps\appsname\WEB-INF\reports\SubReport.jasper". I does not generate an error but it will not show my subreport. I'm using Spring so I'm guessing since I use absolute path I cant use ".\Subreport.jasper". How come my subreport is not showing in my main report when I use absolute path in iReport? I pointed to that file when I added my subreport on subreport wizard. 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