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

rajamohanp

Members
  • Posts

    7
  • Joined

  • Last visited

rajamohanp's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi Guys I need to display my report in Excel format .. i export my report to PDF and HTML . i need to know how to export into Excel ... JasperDesign jasperDesign = JRXmlLoader.load(reportSource); JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,params,conn); JasperExportManager. exportReportToPdfFile(jasperPrint, reportPdf); JasperExportManager. exportReportToHtmlFile(jasperPrint, reportHtml); i want to know how to export my jasperPrint to Excel file in JSp Thanx in Advance --:) Raj :) --
  2. Hello Kanagaraj @ i got ur point and give solutions for u ... In pdf File u go and edit Tools -->Customize Toolbar --> Select $ toolbars and then U just tick 100% actual size icon .. i Hope i give solution to ur pbm -- Raj --
  3. Hello Kanagaraj @ This is Mohan ... I need a help from u Can u send some sample attachment of the code . Because i am struggling in the creation of pdf . so i need ur help ... Xpect ur reply Thanx in Advance , --:) Mohan :)--
  4. Hello friend @ I Must show my output in Jasper Viewer? only Guide me some other possible ways ... what can i do? Regards, Raj...
  5. Hi Guys @ I am Facing new problem while i run my web application . The jasper viewer window does not pop up . i need to pop up to Viewer window . JasperViewer.viewReport(jasperPrint); What i do for That ? Thanx in Advance Guys -- Raj :)--
  6. Hi Guys @ I am facing this problem while i run my Jsp in Internet explorer . But my Viewer output does not Pop up ... My code ======== String constr="Raj"; String reportSource = "D:/Jrxmls/TicketStock.jrxml"; String reportDest = "D:/Jrxmls/TicketStock.pdf"; Map params = new HashMap(); params.put("qstr",constr); Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/transport?user=root&password=root"); JasperDesign jasperDesign=JRXmlLoader.load(reportSource); JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, params,conn); JasperExportManager.exportReportToPdfFile(jasperPrint,reportDest); JasperViewer.viewReport(jasperprint); ======== In this the pdf file Write on my destination port . But my viewer is not working ... here i attach my pdf too ... i include all relevant and most needed Jar files into the lib folder ... Help me Guyz ...... :)-- Raj --:) [file name=TicketStock.pdf size=3954]
  7. Hello Friend'z I have one doubt .Can We create Dynamic .jrxml file That means i need to change the structure in runtime. Now i have one table In JSP design i have 2 text boxes eno, doj .. table desc =========== eno ename doj sal desig ...etc but my need is while i get the value in JSP design window . eno,doj, tht's corresponding ename only i need . not all the field (sal,desig) <querystring> select ename from emp where eno=$P{eno} and doj=$P</querystring> But my structure is <querystring> select ename,sal,desig from emp where eno=$P{eno} and doj=$P{doj}</querystring> i dont know how to change the structure in runtime. help me Guys ...... Thanx in Advance - Raj --
×
×
  • Create New...