Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and 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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

display a report

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please help me friends,
if i want to run jnlp in folder dist, then i'm not to see this error.

but when i to run in browser,
error report it happened like this in my JNLP program,
I have attempted in my power, but still can not mitigate this problem.


net.sf.jasperreports.engine.JREXception: java.io.FileNotFoundException: src\id\ptmsa\co\id\report\TestReport.jasper
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

So does the file TestReport.jasper exist at the said location?
 
teguh sugiono
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i use this

String path = "src/id/ptmsa/co/id/report/TesReport.jasper";
JOptionPane.showMessageDialog(null, "Direktori " + path );

JasperPrint jasperPrint = JasperFillManager.fillReport(path, null, koneksi);
System.out.println("Viewing...");
JasperViewer.viewReport(jasperPrint, false);
System.out.println("Done!");
direktori.JPG
[Thumbnail for direktori.JPG]
 
this llama doesn't want your drama, he just wants this tiny ad for his mama
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic