Help coderanch get a
new server
by contributing to the fundraiser
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Printing Problem

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

Example:
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,

Ricky
 
reply
    Bookmark Topic Watch Topic
  • New Topic