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

dgmanu

Members
  • Posts

    15
  • Joined

  • Last visited

dgmanu's Achievements

Explorer

Explorer (4/14)

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

Recent Badges

0

Reputation

  1. Hi , am using i report 1.2.6 , i want to use commas and decimal palces in my amount field, the problem am facing is decimal places coming proper but the pattern of putting comma is diferent then thousand separator, i want it in the format ##,##,###.00 how to do it, if any one know please help me. if i use this ##,##,###.00 format in create patteren , it wil dispaly that but no change in resultant. waiting for reply, Thank you all Manu D Gowda Post edited by: dgmanu, at: 2007/04/10 04:58
  2. hi , am using struts and jasper reports on my project, now i was having problem that whenever i try to print the report , the printer dialogue box was appearing on server machine, i want it on client end, how to solve this problem, please any one know help me, it was urgent, my code was like this Code:JasperCompileManager.compileReportToFile("c:/report/test.jrxml","c:/report/test.jasper"«»); JasperPrint jasperPrint = JasperFillManager.fillReport("c:/report/test.jasper"«»),parameters,con); List l=jasperPrint.getPages(); if(l.size() != 0){ jasperPrint.setOrientation(JasperReport.ORIENTATION_PORTRAIT); jasperPrint.setPageHeight(877); jasperPrint.setPageWidth(963); JasperPrintManager.printPages(jasperPrint,0,l.size()-1,true); } thanks in advance,
  3. hi , am using struts and jasper reports on my project, now i was having problem that whenever i try to print the report , the printer dialogue box was appearing on server machine, i want it on client end, how to solve this problem, please any one know help me, it was urgent, my code was like this Code:JasperCompileManager.compileReportToFile("c:/report/test.jrxml","c:/report/test.jasper"«»); JasperPrint jasperPrint = JasperFillManager.fillReport("c:/report/test.jasper"«»),parameters,con); List l=jasperPrint.getPages(); if(l.size() != 0){ jasperPrint.setOrientation(JasperReport.ORIENTATION_PORTRAIT); jasperPrint.setPageHeight(877); jasperPrint.setPageWidth(963); JasperPrintManager.printPages(jasperPrint,0,l.size()-1,true); } thanks in advance,
  4. use this Code:JasperCompileManager.compileReportToFile(context.getRealPath("/reports/WebappReport.jrxml"«»),context.getRealPath("/reports/WebappReport.jasper"«»)); then Code:[code]JasperPrint jasperPrint = JasperFillManager.fillReport(context.getRealPath("/reports/WebappReport.jrxml"«»),parameters,con); hope this wil help you
  5. hi every one, [p] i want total pages in a report, because i want to print continued.. at a page footer if report has more then one page this text doesn't come if it has only one page and not to repeat in last page, this can be achived if able to get the total pages in first page only, please help me on this matter, [/p] [p] $V{PAGE_NUMBER} gives the current page number if i change this variable evaluation time to report then i wil get the total page number but the problem is i can print this number by putting it on report by changing its evalution time but i want it in variable because in my case i have to use this variable in print value expression when? so any one know how to get total pages please help me[/p] Post edited by: dgmanu, at: 2007/02/15 04:54 Post edited by: dgmanu, at: 2007/02/15 04:54
  6. Hi all, I am using iReport 1.2.7. I am stuck with some problem..... I guess you people will help me. The problem is, I have a report that contains sub report. I am sending three parameters from java to report. I am using these parameters for my sub report query.... But i'm not getting any result for the sub report..... The way i sent is.... In main containing sub report properties i have added three parameters and in sub report jrxml i have defined three parameters. This parameter i'm using for my sub report query.... I'm not getting any results.... Can anybody help me in this.... Thanks, With Regards, Subramanya
  7. hi 2 all, i will be having problem i.e i have $F{total} i want know what is the 10% of it i.e Code:$P{percent} ,so what i was tried is Code:[code]new Double($F{total}.doubleValue()*$P{percent}.doubleValue()) i got this idea from net but it is not working,it giving error that Code:[code]cannot cast Double to Double and other error is * is undefined ,please anyone know the answer let me know Thanking you Manu D G
  8. dear giulio i also having problem with the ireport plug in, i too updated as u told but am getting problem when i click the icon, i report open but eclipse become not responding for a long time after in eclipse i wil be getting a message Code:ireport is taking too much time to start...try later so what be the problem, am using eclipse 3.1 and ireport 1.2.6 waiting for your reply, Thank you Manu d g
  9. can u suggest me the link where i can get jasper report 1.2.6 plugins for eclipse, and also please tel me , am using eclipse eclipse 3.1 is it good with jasper rerport 1.2.6 Thank u Manu d g
  10. hi 2 all , can anyone help me to find the web address where i can find jasper report 1.2.6 plugins for eclips 3.1 Thanks2all, Manu D G
  11. hi 2 all , can anyone help me to find the web address where i can find jasper report 1.2.6 plugins for eclips 3.1 Thanks2all, Manu D G
  12. i got the answer... i had problem with JasperCompileManager.compileReportToFile(context.getRealPath("/jsp/Reports/att3.jrxml")); line of code, it was not creating .jasper file, for solution just check JasperCompileManager method in jasper 1.2.7 API
  13. hi 2 all... am using struts 1.2.8 , now am introducing to jasper reports , so wht i was doin is , ServletContext context = this.getServlet().getServletConfig().getServletContext(); Map parameters = new HashMap(); parameters.put("tare_detail",tare_detail); parameters.put("entry_date",entry_date); Connection con=null; File reportFile; try{ con=ConnectionJava.getConnection(); System.out.println("Connection establish...."); }catch(ClassNotFoundException ex){ System.out.println("*ClassNotFoundException**"+ex); }catch(SQLException se){ System.out.println("**SQLException*"+se); } try{ if(con!=null){ JasperCompileManager.compileReportToFile(context.getRealPath("/jsp/Reports/att3.jrxml")); reportFile = new File(context.getRealPath("/jsp/Reports/att3.jasper")); if (!reportFile.exists()) throw new JRRuntimeException("File att3.jasper not found. The report design must be compiled first."); JasperPrint jp=JasperFillManager.fillReport(context.getRealPath("/jsp/Reports/att3.jasper"),parameters,con); String destFileName=context.getRealPath("/jsp/Reports/att3.pdf"); JasperRunManager.runReportToPdfFile(context.getRealPath("/jsp/lReports/att3.jasper") ,destFileName,parameters,con); List l=jp.getPages(); System.out.println("****compiled report SIZE*****"+ l.size()); if(l.size() != 0){ JasperPrintManager.printPages(jp,0,0,true); } System.out.println("**jp*"+jp); } }catch (JRException e){ e.printStackTrace(); } my problem is am not getting .jasper file after compilation. file not found exception is throwing, am using jasper1.2.6 , what is the problem here , please help me Thanking you Post edited by: dgmanu, at: 2006/10/16 10:32
  14. hi 2 all... am using struts 1.2.8 , now am introducing to jasper reports , so wht i was doin is , ServletContext context = this.getServlet().getServletConfig().getServletContext(); Map parameters = new HashMap(); parameters.put("tare_detail",tare_detail); parameters.put("entry_date",entry_date); Connection con=null; File reportFile; try{ con=ConnectionJava.getConnection(); System.out.println("Connection establish...."); }catch(ClassNotFoundException ex){ System.out.println("*ClassNotFoundException**"+ex); }catch(SQLException se){ System.out.println("**SQLException*"+se); } try{ if(con!=null){ JasperCompileManager.compileReportToFile(context.getRealPath("/jsp/Reports/att3.jrxml")); reportFile = new File(context.getRealPath("/jsp/Reports/att3.jasper")); if (!reportFile.exists()) throw new JRRuntimeException("File att3.jasper not found. The report design must be compiled first."); JasperPrint jp=JasperFillManager.fillReport(context.getRealPath("/jsp/Reports/att3.jasper"),parameters,con); String destFileName=context.getRealPath("/jsp/Reports/att3.pdf"); JasperRunManager.runReportToPdfFile(context.getRealPath("/jsp/lReports/att3.jasper"),destFileName,parameters,con); List l=jp.getPages(); System.out.println("****compiled report SIZE*****"+ l.size()); if(l.size() != 0){ JasperPrintManager.printPages(jp,0,0,true); } System.out.println("**jp*"+jp); } }catch (JRException e){ e.printStackTrace(); } my problem is am not getting .jasper file after compilation. file not found exception is throwing, am using jasper1.2.6 , what is the problem here , please help me Thanking you Post edited by: dgmanu, at: 2006/10/16 10:32
  15. hi 2 all... am new 2 jasper reports , now am started learning it, please anyone tel me jasper report 1.2.6 is compitable with which version of Tomcat, waiting for your help. Thanking you, Manu D G
×
×
  • Create New...