posted 18 years ago
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