Salve a tutti ragazzi...ho provato a caricare un report nella mia applicazione web...mando in esecuzione e non mi da alcun errore,però non visualizza il report!
all'inizio credevo non entrasse proprio nella funzione, invece ho fatto una serie di controlli e nella funzione ci va...solo che non appare nulla!!
qualcuno di voi sa spiegrami perchè??
metto il codice:

codice:
package org.sportfantasy.jasperreport;

import java.sql.Connection;
import java.sql.DriverManager;

import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperExportManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.design.JasperDesign;
import net.sf.jasperreports.engine.xml.JRXmlLoader;


public class TestJR 
{
  public static String JASPER_REPORT_FOLDER   = "C:\Documents and Settings\ROSA\Desktop\TESI\titolo_studio";
  public static String JASPER_FILENAME    = "titolo_studio";
  public static String DRIVER       = "org.postgresql.Driver";
  public static String DB_URL       = "jdbc:postgresql://localhost:5432/catidb";
  public static String DB_NAME       = "catidb";
  public static String DB_USERNAME     = "postgres";
  public static String DB_PASSWORD     = "entra";
  
  public static void main(String[] args) throws Exception 
  {
    //caricamento file JRXML
    JasperDesign jasperDesign = JRXmlLoader.load(JASPER_REPORT_FOLDER + JASPER_FILENAME + ".jrxml");
    //compilazione del file e generazione del file JASPER
    JasperCompileManager.compileReportToFile(jasperDesign, JASPER_REPORT_FOLDER + JASPER_FILENAME + ".jasper");

    //inizializzazione connessione al database
    Class.forName(DRIVER);
    Connection conn = DriverManager.getConnection(DB_URL, DB_USERNAME, DB_PASSWORD);

    //rendering e generazione del file PDF
    JasperPrint jp = JasperFillManager.fillReport(JASPER_REPORT_FOLDER + JASPER_FILENAME + ".jasper", null, conn);
    JasperExportManager.exportReportToPdfFile(jp, JASPER_REPORT_FOLDER + "report.pdf");

  }
 }
aiutatemi x favore...
grazie