iReport 和 Jasperreport整合开发web报表向导

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

||||||||SUNIBMDonewsRSSWindows/.NET.NET(rss)VisualC++(rss)Delphi(rss)VisualBasic(rss)ASP(rss)JavaScript(rss)Java/LinuxJava(rss)Perl(rss)(rss)(rss)(rss)(rss)(rss)(rss)CSDN--Java1514510iReportJasperreportweb(1)JplateauBlogireportjasperreportiReportJasperreportweb(1)iReportJasperreport1.0iReport0.2.2,Jasperreport0.5.0javawebJasperreportiReportJasperreportiReportJasperreport:catally(3)yaohao803(7)zhangking(22)llmmysun(18)LuckyJan(59)baoyin(1)Aceryt(9)fivesky(7)letsflytogether(11)FlyHope2005(21)Jasperreport:@echooffsetJAVA_HOME=C:\jdk14setANT_HOME=d:\antsetIREPORT_HOME=C:\Documenti\progetti\iReport\iReport2\rem%ANT_HOME%\bin\antjavadocs%ANT_HOME%\bin\antiReportantantantJJasperreportjarclasspathiReport~2Jasperreportxmljasper.jasper,.jasper.jspservlet()Adatasource+ajasper=aprintPDF,HTML,XML,XLS,CVS,Jasperreport.xml,xmliReportjasperreportiReportiReportXML,struts_config.xmlJiReportJasperreportxmliReport3IReportrichandverysimpletouserGUIvbjavaiReportJiReportJ(3)iReportJasperreportweb(2)iReportJasperreportweb(1)ExceptionJunit2.0StrutsTestCaseCSDN(2004-08-30)superbiblesunnf(2004-04-08)oracle9i,checkyourclasspathsunnf(2004-04-08)antnoantsunnf(2004-04-08)mei3998(2004-04-01)()Web—UbiReportWebUbiReport---WeblWEBInternetNetWorkl?UbiReportCSBSlUbiReport?UbiReportJAVAWYSIWYG()UbiReportCSWEBlUbiReport?-JAVA-WEB-(PowerBuilder,VisualBasic,...)--UbiReportFeatures1.XML-BasedRepositoryXML2.SQL3.SQLSQLubireport4.5.SQLUbireportSQL“”“”“”6.7.408.(1D&2D)9.10.jpggifPDFExcel11.WEBFTPUbireportHTMLWEB!!:+86-755-260775683000338813925215018:+86-755-260775683016©CSDN.NET,Inc.AllRightsReserved||||||||SUNIBMDonewsRSSWindows/.NET.NET(rss)VisualC++(rss)Delphi(rss)VisualBasic(rss)ASP(rss)JavaScript(rss)Java/LinuxJava(rss)Perl(rss)(rss)(rss)(rss)(rss)(rss)(rss)CSDN--Java82602iReportJasperreportweb(2)JplateauBlogireportjasperreportiReportJasperreportweb(2)iReportJasperreportiReportiReportcatally(3)yaohao803(7)zhangking(22)llmmysun(18)LuckyJan(59)baoyin(1)Aceryt(9)fivesky(7)letsflytogether(11)FlyHope2005(21)XMLxmlencodingGB2312title,pageheader,detail,pagefootersummaryiReportpdfJiReport1234SQL5iReport1Adatasource+ajasper=aprintDatasource/Connections/Datasourcestest2iReportviewReportpropertiesReportqueryReportfields()ReportvariablesReportparametersReportfontsBands(titledetail)ReportgroupsElementpropertiesElementbrowserJiReportvariablesName$V{variablesName}parameterName$P{parameterName}filedsName$F{filedsName}J3jariTextAsian.jar,iReportjariReport2ReportfontsReportfontsongtiJ:iReportxml:PDFfontnameExternalTTFfont…,ttfSIMHEI.TTFTrueTypefont,()xmlstaticTextreportElementmode=Opaquex=13y=42width=239height=53forecolor=#000000backcolor=#FFFFFFpositionType=FixRelativeToTopisPrintRepeatedValues=trueisRemoveLineWhenBlank=falseisPrintInFirstWholeBand=falseisPrintWhenDetailOverflows=false/textElementtextAlignment=LeftverticalAlignment=ToplineSpacing=SinglefontfontName=pdfFontName=size=36isBold=falseisItalic=falseisUnderline=falseisPdfEmbedded=truepdfEncoding=Identity-HisStrikeThrough=false//textElementtext![CDATA[]]/text/staticTextpdfFontName=””TTFC:\WINNT\fonts\SIMHEI.TTFTTFpdfFontName=””JJ(3)iReportJasperreportweb(2)iReportJasperreportweb(1)ExceptionJunit2.0StrutsTestCaseCSDN(2004-09-22)CSDN(2004-09-15)J,,-----EnglishICP020026Copyright©CSDN.NET,Inc.AllRightsReserved||||||||SUNIBMDonewsRSSWindows/.NET.NET(rss)VisualC++(rss)Delphi(rss)VisualBasic(rss)ASP(rss)JavaScript(rss)Java/LinuxJava(rss)Perl(rss)(rss)(rss)(rss)(rss)(rss)(rss)CSDN--Java950611iReportJasperreportweb(3)JplateauBlogireportjasperreportiReportJasperreportweb(3)123iReportxmljasperxmliReportiReportPDF,HTML,XML,XLS,CVSBuildiReportPDFcatally(3)yaohao803(7)zhangking(22)llmmysun(18)LuckyJan(59)baoyin(1)Aceryt(9)fivesky(7)letsflytogether(11)FlyHope2005(21)PDFpreviewHTMLpreviewJPDFAcrobatReaderTools/OptionsExternaleditorxmlUltraEditeditplusxmlxmlxmlEdit/editXMLsourcexmlpdfFontNamettf(c:\winnt\fonts\simhei.ttf)reportfonts/simhei.ttfJ4SQL5J4SQLsqliReportJviewReprotquerySavequerytoreportSQLXMLqueryString![CDATA[select*fromuserswherename='Jplateau']]/queryStringsqlnamesqlSelect*fromuserswherenamelike‘%name%’iReportsqlSelect*fromuserswherenamelike‘%$P{name}%’J5454jsppdf.jsppdf.jsp%@pageimport=dori.jasper.engine.*%%@pageimport=java.util.*%%@pageimport=java.io.*%%@pageimport=java.sql.*%%FilereportFile=newFile(application.getRealPath(/reports/test.jasper));Mapparameters=newHashMap();parameters.put(name,p);Connectionconn=null//////byte[]bytes=JasperRunManager.runReportToPdf(reportFile.getPath(),parameters,conn);response.setContentType(application/pdf);response.setContentLength(bytes.lengt

1 / 29
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功