Jump to content

rdx

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Everything posted by rdx

  1. When I compile my java file, I get package net.sf.jasperreports.view does not exist I have already put the jasperreports-1.2.8-project.jar in the javajdk1.5.0_09jrelibext folder. But I am still getting that error. Where shall I put the jasper jar file and other library files?
  2. That was very helpful of yours. When I export as the code above, is the file getting saved to the web server or the clients computer? I am confused because right now I am using the localhost and client and servers machine is the same thing. If it is getting saved in the client, then it is fine. Otherwise, is it possible to save the file in a session instead of the server's local file system and download it? I am asking this because I dont want person B to open the file created by person A. Please tell me how I can achieve this. What I want to do is, when the person clicks the export button, the file gets downloaded to the clients machine. thanks Post edited by: rdx, at: 2006/11/17 18:43
  3. Hi. Im new to Jasper and am struggling for a long time to get reports to export into pdf. Code: JasperPrint print = JasperFillManager.fillReport(report, null, jdbcConnection ); OutputStream output = new FileOutputStream(new File("myfile.pdf"«»)); JasperExportManager.exportReportToPdfStream(print, output); output.close(); I used the above code in my jsp page to generate a pdf file. But, how can the user downlaod the file onec it is created? Is there a way to put the created file in a session and downlaod rather than putting in the local file system? Please advice me on how to do this.
×
×
  • Create New...