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

abhijitgadekar

Members
  • Posts

    2
  • Joined

  • Last visited

abhijitgadekar's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Hi, I know how to integrate Jasper Reports with JSP. Following is the code that I put in my index.jsp and reports are displayed in the browser. JRHtmlExporter exporter = new JRHtmlExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out); exporter.exportReport(); Now, My question how to do this in PHP. I dont know PHP. But I am guessing that i just need to replace the "out" parameter of JSP (the type of out is jsp.JspWriter) with equivalent of PHP in the following line . exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out); Is this correct? If so please tell me the equivalnt of "out" object in PHP. Otherwise please send me a piece of code with jasper reports in PHP. Thanks, Abhijit
  2. Hi All, I am oberving a very wierd behavior. I have a table temp1 +-------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+--------------+------+-----+---------+-------+ | id | int(10) | NO | PRI | | | | name | varchar(100) | YES | | NULL | | +-------+--------------+------+-----+---------+-------+ I created a simple report through iReport for the query : select id, name from temp1; I compiled the report and use jasper APIs to fill the report. Howver the data is not showing up in the browser under the report headings.Only the column names are displayed. Please help me debig this problem. :sick: Thanks, Abhijit
×
×
  • Create New...