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

sunxh

Members
  • Posts

    9
  • Joined

  • Last visited

sunxh'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. I've build a new server(linux AS4) to run the same project,and didn't appear such problem. I guess may be the old server(linux AS4)'s config has changed and induce pop-up blank browses. Is anybody know about this? appreciate for your suggest
  2. HI, Open pdf file in Internet Explorer Browser window.open(link,'reportWindow','xxxxx'); The problem is if There is Adobe Reader 7 on client, project will pop-up a blank browser and Reader open pdf file separately. when server run on local,pdf file can open within browser automatically.. And with Adobe Reader6,pdf file always opened within browser whatever server is local or remote. I've set Adobe Reader to open file in browser in it's internet option ,but no effect I want client can view pdf file within Browser no matter which version of Adobe Reader they've installed any suggestion? really appreciate for ur help~~ Code in jsp: JasperPrint jasperPrint = JasperFillManager.fillReport(reportFile.getPath(),parameters,conn); byte[] bytes= JasperExportManager.exportReportToPdf(jasperPrint); response.setContentType("application/pdf"); response.addHeader("Content-Disposition", "inline;"); response.setContentLength(bytes.length); ServletOutputStream ouputStream = response.getOutputStream() ; ouputStream.write(bytes, 0, bytes.length); ouputStream.flush(); ouputStream.close();
  3. Thanks,I've know how to use virtualizer I really appreciate your help :laugh:
  4. hi, try to copy all the new jars in iReport-1.2.5-srclib to you web project lib why not show the error message?
  5. I've got it,The problem is the parameter pass to jasperreports~~ parameters.put(JRParameter.REPORT_VIRTUALIZER, virtualizer); JasperPrint jasperPrint = JasperFillManager.fillReport(reportFile.getPath(),parameters,conn); Delete this parameter,reports works perfectly. new problem is How to add a virtualizer to reports exactly? I use JRFileVirtualizer just like jasperreports Demo: JRFileVirtualizer virtualizer = new JRFileVirtualizer(2, tmp_path); parameters.put(JRParameter.REPORT_VIRTUALIZER, virtualizer); virtualizer.setReadOnly(true); JasperPrint jasperPrint = JasperFillManager.fillReport(reportFile.getPath(),parameters,conn); Why JRFileVirtualizer interrupt page_number? Thanks Post edited by: sunxh, at: 2006/08/11 04:08
  6. Thanks for your suggest!! I increase the textfile size but still have the problem,in some other reports those not have such groups page_number display normally,I wonder how dose group interrupt page_number.. I post this template in attach for everybody can run this report. Thanks for help:) [file name=DistributorListing.jrxml size=65260]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/DistributorListing.jrxml[/file]
  7. P.S.I use jasperreports 1.0.2 any suggest?
  8. I have a design which contains pageHeader band,detail band and build 2 groups I placed $V{page_number}(evaluation time now) and $V{page_number}(evaluation time report) both set "Print repeated values" in pageHeader. For first group I've set: "Start on a new page", and "Print header on each page". another one set "Print header on each page" I used IReport interface run this report with a connection export pdf file,it works perfactly,both Page_number were displayed, but when I run same report in jsp, Page_number(report) only display once in a page,the other pages were blank Can somebody help me on how to fix this bug? Thanks in advance. Post edited by: sunxh, at: 2006/08/02 12:34 Post edited by: sunxh, at: 2006/08/02 12:36
×
×
  • Create New...