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

mondal.brata

Members
  • Posts

    4
  • Joined

  • Last visited

mondal.brata's Achievements

  1. The RCA is, folder structure works when running programme from eclipse, but when we create .jar and run it, within .jar there is nor folder structure available. So it cant find the .jasper file. I have resolved the issue using InputStream reader to read .jasper file. Hopw this helps some one.
  2. i Guys, I am beginner with Jasper report, and I got this below situation. I know this topic habe been discussed here but seriously speaking I went through many topic, tried, but no luck, some how I am not able to make it. Please help me... Situation: I need to pass a `List<List<?>>` from my java layer to Jasper to make a PDF. Some post I saw people suggested to use SubReport and in Some post people suggested to use List component in JasperReport. I tried both and finally messed up. Please suggest which one to use to make my work done, and it will be very grateful if any one can pass the source code or complete clear Idea how to implement this. I need this to print like below: 1.Patient Name: abcd Test Name: GlucoseTest Result: 24 Ref.Range: 10-30 mg/dl Test Name: TSH Result: 0.5 Ref.Range: 0.1-0.9 mg/dl 2.Parient Name: efgh Test Name: GlucoseTest Result: 24 Ref.Range: 10-30 mg/dl Test Name: TSH Result: 0.5 Ref.Range: 0.1-0.9 mg/dl Test Name: GlucoseTest Result: 24 Ref.Range: 10-30 mg/dl Test Name: TSH Result: 0.5 Ref.Range: 0.1-0.9 mg/dl 3.Parient Name: efgh Test Name: GlucoseTest Result: 24 Ref.Range: 10-30 mg/dl . . . and so on... Please help, i am puzzled, thank in advance.
  3. Sure Sir, will try this. (FI: when I explode the jar file and see those .jasper file is present there.) Just for my knowledge asking, every time compiling report will be time consuming... is there any auternative or what is the exact reason for not finding the .jasper file?
  4. The prob im facing is, when Im running my project in eclipse its able to find my jasper file and showing the report but when im making jar (using maven) of my project and running it, its not able to find my jasper file and throwing FileNotFoundException.. Path Im using :"jasperReport = "srccommyprojectjasperTestReportTamplate_V1.jasper"; I have attached My project structure below: MyProject |-- src | |--com.myproject.jasper | | |-- TestReportTamplate_V1.jasper | |-- ... | -- ... | --pom.xml Any help is appraciated.
×
×
  • Create New...