Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Need an Urgent Help in jasper report...

Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have created a master report and a sub report. I have written the code in jsp to call the master report but it gives an error.

Error Loading object from file: "path where the sub report resides".

Please help me out if i am doing something wrong.

jasperdesign = JasperManager.loadXmlDesign(getServletConfig().getServletContext().getRealPath("/reports/VoucherReport.jrxml"));
jasperReport = JasperCompileManager.compileReport(jasperdesign);

HashMap map = new HashMap();
jasperPrint = JasperFillManager.fillReport(jasperReport, map, con);

it is throwing an exception on jasper print . please help me out. need a sloution for this voucher report is a master report, do i also need to compile subreport toooo. Please i need an urgent help
Posts: 21971
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Sulaiman Malik wrote:Please i need an urgent help

I'll repeat from this thread: please EaseUp.
Does this tiny ad smell okay to you?
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic