Win a copy of Svelte and Sapper in Action this week in the JavaScript 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Printing Problem

Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a problem with jasper report printing.
I tried to print the report using adobe distiler and tried to save it into a file.
It works well for the first printing. Afterwards, I tried to reprint the same jasper report file then I found an error which said that the jasper report couldn't be found.
Is it true that the classpath changed after the first printing? FYI, before I printed the report, I create a "File" object which will be passed to the printing engine.

File f = new File("example.jasper")
f.isFile() // return true for the first printing, then return false for the second printing

Really appreciate for your help.

Many thanks beforehand,

If you open the box, you will find Heisenberg strangling Shrodenger's cat. And waving this tiny ad:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic