Jump to content
We've recently updated our Privacy Statement, available here ×

webmaster_8

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by webmaster_8

  1. In local jasper viewer is working fine but when i run with tomcat server  jasper viewer not working

    code

    OutputStream output = new FileOutputStream(new File(path1+"/Reports/catalog.pdf"));
    JasperExportManager.exportReportToPdfStream(jasperPrint, output);
     JasperViewer jv = new JasperViewer(jasperPrint);
    jv.viewReport(jasperPrint,true);
     
    Any help would be appreciated,
     
    Regards,
    V.Gajalakshmi,
     
    Harsha Infotech.

     

  2. Hi Sir,

     

    My code is

    InputStream input = new FileInputStream(new File("./Reports/ipr.jrxml"));
    System.out.println(input);
    System.out.println("get into Report");
    JasperDesign jasperDesign = JRXmlLoader.load(input);
     
    System.out.println("Compiling Report Designs");
     
    JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);

     

    i got the following error while running in tomcat server 

    java.io.FileNotFoundException: C:Program Files (x86)Apache Software FoundationTomcat 7.0.Reportsopbill.jrxml(The system cannot find the path specified)

     

    Any help would be  appreciated

    Regards,

    V.Gajalakshmi

    Harsha Infotech

     

     

     

×
×
  • Create New...