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

hesharma

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by hesharma

  1. Hi Team, We are using Japser 4.7.0 for the reports. There we are reading the .japser file using jasperReport = (JasperReport) JRLoader.loadObjectFromLocation(path); path is the string of the .jasper file (a relative path from "com/abc/reports/jasper/relative_path_of_file.jasper") This was working perfectly. Now we are upgrading to the Jasper 5.6.0 for the reports, but here (JasperReport) JRLoader.loadObjectFromLocation(path) mathod has been removed. Can you suggest how can I read this file using the relative path. As when the war is deployed on the server path to the file got changed. As we tried (JasperReport) JRLoader.loadObject(File file) but this also requires the Absolute path to get the File Object. Thanks Hemraj Sharma
×
×
  • Create New...