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

mohammad_awadat

Members
  • Posts

    30
  • Joined

  • Last visited

mohammad_awadat's Achievements

Contributor

Contributor (5/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. i am using this way to passing data source and run report as pdf in browser, but give error, but when change JRResultSetdataSource with jdbc connection running very will. i dont know where error ResultSet rs = stmt.executeQuery(query); JRResultSetDataSource rsds = new JRResultSetDataSource(rs); JasperDesign jasperDesign = JRXmlLoader.load(input); JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign); byte[] bytes = null; bytes = JasperRunManager.runReportToPdf(jasperReport,parmeter,rsds); response.setContentType("application/pdf"); response.setContentLength(bytes.length); servletOutputStream.write(bytes, 0, bytes.length); thanks
  2. i want display report in english or arabic english alignment left to right arabic alignment right to left how i can change alignment like no-----Name 1------jack 2------michle 3------tot arabic رقم------الأسم jack------1 michle----2 tot-------3 thanks
  3. hi i need to add three column to value expression in bar chart i am write expression like $F{ALL_VISITS},$F{FOLLOW_UP} i need correct expression thanks
  4. set pdf encoding H and pdf embedded checked and pdf fron aril.ttf font set full path in this property
  5. just set chart in summary band that's it
  6. i make report in ireport contain chart when make run display error this error: rg.apache.commons.digester.Digester startElement SEVERE: Begin event threw error oracle.classloader.util.AnnotatedNoClassDefFoundError: --------- and this my code JasperDesign design = JRXmlLoader.load(input); JasperReport report = JasperCompileManager.compileReport(design); Connection conn = getConnection(); Map parameters = new HashMap(); JasperPrint print = JasperFillManager.fillReport(report, parameters, conn); JRHtmlExporter hexporter = new JRHtmlExporter(); request.getSession().setAttribute(ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE, print); hexporter.setParameter(JRExporterParameter.JASPER_PRINT,print); hexporter.setParameter(JRExporterParameter.OUTPUT_WRITER,response.getWriter()); hexporter.setParameter(JRHtmlExporterParameter.IMAGES_URI,"image?image="); hexporter.exportReport();
  7. when make run to report from browser there is way display report or there is jar files should be add to my application thanks all
  8. from two day search to how to make charts in ireport and i need help thanks and how to make run on browser thanks all
  9. from two day search to how to make charts in ireport and i need help thanks and how to make run on browser thanks all
  10. when set report column 2 read data as 1----5 2----6 3----7 4----8 but i need display data as 1----2 3----4 5----6 7----8 thanks all
  11. need way set index in report ------------ index--name 1------test 2------test2 3------test3 4------test4
  12. need way set index in report ------------ index--name 1------test 2------test2 3------test3 4------test4
  13. thank you to much this way is work WHERE PATIENT_NO IN ($P!{testCollection})
  14. thank you to much this way is work WHERE PATIENT_NO IN ($P!{testCollection})
  15. when use WHERE PATIENT_NO $X{IN, testCollection} display this error ----------- SQL IN clause missing parameter token -- when use WHERE PATIENT_NO IN ($P!{testCollection}) display this error ----------- Incompatible java.util.ArrayList value assigned to parameter test may be you can help me thank you
×
×
  • Create New...