2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Prem - premasi Loading .jasper file within a .ear file 2003-10-01 21:16 Can someone tell me how to load the .jasper file from my .ear file. I am using weblogic and my .jasper file is placed in APP-INF dir of the ear file. I am able to load any other files from this dir but when i try to load the .jasper zip file corrupt exception. the following is the code that i use JasperRunManager.runReportToPdfFile "TermClaimDocument.jasper", "c://RMReports//" + termClaim.getClaimType()+ termClaim.getClaimNo() + "Report.pdf", printParams, new JRBeanCollectionDataSource(termClaimLines)); Thanks in advance regds 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