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

my5906

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

Downloads

Everything posted by my5906

  1. Hi, I have some problem... Using Japersoft iReport Designer... There are 3 bands. (Title, Detail1, Detail2) It is ok on Preview mode.(PDF) But on website...only title band is shown....Detail1, Detail2 band is empty.. I don't know what's wrong... Plz..help me....
  2. hi, I made jasper file using iReport. In iReport preview...PDF file excutes and works perfect. In java program...there is no error but an empty PDF when downloading through IE browser. I can see pdf333 start------------, pdf333 end--------- code below through server log. Here's the source...plz help me T_T Connection conn = null; String gbm2 = ""; String ctrt_code = request.getParameter("CTRT_CODE") == null ? "" : request.getParameter("CTRT_CODE"); String reportName = request.getRealPath("/")+"reports\test.jasper"; DBSource ds = new DBSource(); conn = ds.getConnection(gbm2); try { Class.forName("oracle.jdbc.driver.OracleDriver"); } catch (ClassNotFoundException ex) { ex.printStackTrace(); } try { System.out.println("pdf333 start-----------------------------------------------------"); InputStream is = new FileInputStream(reportName); HashMap map = new HashMap(); map.put("ctrt_code", ctrt_code); ArrayList printList = new ArrayList(); JasperPrint jasperPrint = JasperFillManager.fillReport(request.getRealPath("/")+"reports\test.jasper", map, conn); printList.add(jasperPrint); ServletOutputStream servletOutputStream = response.getOutputStream(); String filename = ctrt_code+".pdf"; String dnFilename = new String(filename.getBytes("MS949"), "ISO-8859-1"); response.setContentType("application/pdf"); response.setHeader("Content-Disposition", "attachment; filename=" + filename + ";"); JRPdfExporter exporter = new JRPdfExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, printList); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, servletOutputStream); exporter.exportReport(); System.out.println("pdf333 end-----------------------------------------------------"); } catch (JRException ex) { throw new ServletException(ex); } catch (NullPointerException e1) { }
  3. Hi~ It's my first time using ireport..and version is 5.6 There is one main report and put one Table element. The result of the DB Query is like below. 1aaa2bbb2ccc But I want to see it like below. if A column data is same, merge cell and put B column like below. 1aaa2bbb ccc Is there any way to merge cell?? Plz....help me..
×
×
  • Create New...