Jump to content

Loading .jasper file within a .ear file

Recommended Posts

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


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