锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩精品无码一区二区三区,亚洲精品555,一区二区三区欧美日韩 http://www.aygfsteel.com/three-3/category/34552.html娓哥涓紒錛侊紒zh-cnThu, 24 Jun 2010 08:35:27 GMTThu, 24 Jun 2010 08:35:27 GMT60瑙e喅Jasperreport鐨剋eb鎵撳嵃鍙︿竴縐嶆柟娉?/title><link>http://www.aygfsteel.com/three-3/archive/2010/06/24/324329.html</link><dc:creator>鏉ㄦ厱</dc:creator><author>鏉ㄦ厱</author><pubDate>Thu, 24 Jun 2010 05:08:00 GMT</pubDate><guid>http://www.aygfsteel.com/three-3/archive/2010/06/24/324329.html</guid><wfw:comment>http://www.aygfsteel.com/three-3/comments/324329.html</wfw:comment><comments>http://www.aygfsteel.com/three-3/archive/2010/06/24/324329.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/three-3/comments/commentRss/324329.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/three-3/services/trackbacks/324329.html</trackback:ping><description><![CDATA[鏄ㄥぉ涓嬩簡jasperreport鐨勬渶鏂扮増鏈?.7.3鐪嬩簡涓嬨傚紕浜嗗崐澶╄繕鏄病鑳戒範鎯粬鐨勬姤琛ㄥ埗浣滄柟寮忋傜湅浜嗕笅浠栫殑<span id="wmqeeuq" class="t_tag" onclick="tagshow(event)" href="tag.php?name=%B4%F2%D3%A1">鎵撳嵃</span>鏄埄鐢╝pplet鐨勬潵鎵撳嵃鐨勩傝屼笖榪橀渶瑕佸鎴風瀹夎 鍗佸嚑MB鐨?jre 鍏充簬榪欎釜濂藉潖錛屾瘡涓漢閮芥湁鑷繁鐨勭湅娉曘備粖澶╂垜榪欓噷瑕佽鐨勬槸鍒╃敤<a target="_blank"><font color="#810081">jatoolsprinter</font></a>鎺т歡鏉ユ墦鍗癹asperreport鐨勬姤琛ㄣ傛帶浠跺ぇ灝忓彧鏈?00k宸﹀彸         鍏充簬jasperreport鐨勬姤琛ㄥ埗浣滆繖閲屼笉鍋氳鏄庯紝鎴戞槸鍦ㄧ幆澧冧腑璺戜簡涓媕asperreport鐨刣emo榪愯鐣岄潰濡備笅<br /> <span id="attach_240" onmouseover="showMenu(this.id, 0, 1)" style="display: none; left: 215px; position: absolute; top: 360px"><img src="http://bbs.jatools.com/images/default/attachimg.gif" border="0" alt="" /></span> <img onmouseover="attachimginfo(this, 'attach_240', 1);attachimg(this, 'mouseover')" onmouseout="attachimginfo(this, 'attach_240', 0, event)" alt="" src="http://bbs.jatools.com/attachments/month_1006/20100624_25438a55b6727a6fd5a3SeFHx2hVc2fz.png" onload="attachimg(this, 'load')" border="0" /> <div id="wmqeeuq" class="t_attach" id="attach_240_menu" style="display: none; position: absolute"><img class="absmiddle" alt="" src="http://bbs.jatools.com/images/attachicons/image.gif" border="0" /> <a target="_blank"><strong>2010-06-24_111901.png</strong></a> (24.77 KB)<br /> <div id="wmqeeuq" class="t_smallfont">2010-6-24 12:57</div> </div> <br /> <br /> 榪愯JSP Example 濡備笅鍥?br /> <span id="attach_241" onmouseover="showMenu(this.id, 0, 1)" style="display: none; left: 215px; position: absolute; top: 1198px"><img src="http://bbs.jatools.com/images/default/attachimg.gif" border="0" alt="" /></span> <img onmouseover="attachimginfo(this, 'attach_241', 1);attachimg(this, 'mouseover')" onmouseout="attachimginfo(this, 'attach_241', 0, event)" alt="" src="http://bbs.jatools.com/attachments/month_1006/20100624_8018119283af4c88962cHvaR4Xiypdit.png" onload="attachimg(this, 'load')" border="0" /> <div id="wmqeeuq" class="t_attach" id="attach_241_menu" style="display: none; position: absolute"><img class="absmiddle" alt="" src="http://bbs.jatools.com/images/attachicons/image.gif" border="0" /> <a target="_blank"><strong>2010-06-24_112926.png</strong></a> (15.38 KB)<br /> <div id="wmqeeuq" class="t_smallfont">2010-6-24 12:57</div> </div> <br /> 涓嬮潰鎴戜滑瀵筪emo涓殑html.jsp榪涜淇敼 鐢?a target="_blank"><font color="#810081">jatoolsprinter</font></a>鏉ユ墦鍗癑asperreport 鐨勬姤琛?br /> 钃濊壊閮ㄥ垎涓烘帶浠墮渶瑕佺殑鍐呭<br /> <font color="#0000ff"><%@ page contentType="text/html; charset=gb2312" language="java" %></font><br /> <%@ page errorPage="error.jsp" %><br /> <%@ page import="datasource.*" %><br /> <%@ page import="net.sf.jasperreports.engine.*" %><br /> <%@ page import="net.sf.jasperreports.engine.util.*" %><br /> <%@ page import="net.sf.jasperreports.engine.export.*" %><br /> <%@ page import="net.sf.jasperreports.j2ee.servlets.*" %><br /> <%@ page import="java.util.*" %><br /> <%@ page import="java.io.*" %><br /> <font color="#0000ff"><html><br /> <head></font><br /> <font color="#0000ff"><font color="#000000"><!-- <strong>鎻掑叆鎵撳嵃鎺т歡</strong> --></font><br /> <OBJECT ID="jatoolsPrinter" CLASSID="CLSID:B43D3361-D975-4BE2-87FE-057188254255" <br /> codebase="jatoolsPrinter.cab#version=5,3,0,0"></OBJECT><br /> </head><br /> <script type="text/javascript"><br /> function doPrint(how)<br /> {<br />     <br /> //鎵撳嵃鏂囨。瀵硅薄<br />     var myDoc ={ <br />         documents: document,    // 鎵撳嵃欏甸潰(div)浠湪鏈枃妗d腑<br />         copyrights :    '鏉板垱杞歡鎷ユ湁鐗堟潈 </font>[url=]<font color="#0000ff">www.jatools.com'</font>[/url]              // <strong>鐗堟潈澹版槑,蹇呴』 <br /> </strong><br /> <font color="#0000ff">       };<br />          <br />     // 璋冪敤鎵撳嵃鏂規硶<br />     if(how == '鎵撳嵃<span id="wmqeeuq" class="t_tag" onclick="tagshow(event)" href="tag.php?name=%D4%A4%C0%C0">棰勮</span>...')<br />     jatoolsPrinter.printPreview(myDoc,true );   // 鎵撳嵃棰勮<br />                  <br />    else if(how == '鎵撳嵃...')<br />       jatoolsPrinter.print(myDoc ,true);   // 鎵撳嵃鍓嶅脊鍑烘墦鍗拌緗璇濇<br />                 <br />    else<br />       jatoolsPrinter.print(myDoc ,false);       // 涓嶅脊鍑哄璇濇鎵撳嵃<br /> }<br /> </script><br /> <body></font><br /> <font color="#0000ff"><br><br /> <input type="button" value="鎵撳嵃棰勮..."><br /> <input type="button" value="鎵撳嵃..."><br /> <input type="button" value="鎵撳嵃"><br /> <br></font><br /> <br /> <%<br /> File reportFile = new File(application.getRealPath("/reports/WebappReport.jasper"));<br />     if (!reportFile.exists())<br />    throw new JRRuntimeException("File WebappReport.jasper not found. The report design must be compiled first.");<br /> JasperReport jasperReport = (JasperReport)JRLoader.loadObject(reportFile.getPath());<br /> Map parameters = new HashMap();<br /> parameters.put("ReportTitle", "Address Report");<br /> parameters.put("BaseDir", reportFile.getParentFile());<br />     <br /> JasperPrint jasperPrint = <br />    JasperFillManager.fillReport(<br />     jasperReport, <br />     parameters, <br />     new WebappDataSource()<br />     );<br />     <br /> JRHtmlExporter exporter = new JRHtmlExporter();<br /> session.setAttribute(ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE, jasperPrint);<br /> <br /> exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);<br /> exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out);<br /> exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "../servlets/image?image=");<br /> <br /> exporter.exportReport();<br /> %><br /> <font color="#0000ff"></body><br /> </html></font><br /> <br /> 鍥犱負<a target="_blank"><font color="#810081">jatoolsprinter</font></a>鐨勬墦鍗版槸鏍規嵁<div id='page'+鏁板瓧>鏉ュ尯鍒嗘墦鍗扮殑欏電殑銆傝孞asperreport鐢熸垚鐨刪tml欏甸潰涓張娌℃湁鍖呭惈榪欎簺淇℃伅錛屾墍浠ユ垜浠氨闇瑕佷慨鏀逛笅Jasperreport鐨勬簮鐮?br /> 鐢辯敓鎴愮殑鎶ヨ〃欏甸潰鐨勬簮鐮佷腑鎴戜滑鍙互鐪嬪埌Jasperreport鏄埄鐢?lt;a name="JR_PAGE_ANCHOR_?_?"></a>鏉ュ尯鍒嗛〉鏁扮殑鎴戜滑鍙互鎵懼埌<font color="#ff0000">package net.sf.jasperreports.engine.export </font><font color="#000000">涓嬬殑<font color="#ff0000">JRHtmlExporter.java</font> 鎵懼埌浠g爜涓殑<font color="#ff0000">exportReportToWriter</font>鏂規硶閲岀殑濡備笅鐗囨</font><br /> <font color="#ff0000">writer.write("<a name=\"" + JR_PAGE_ANCHOR_PREFIX + reportIndex + "_" + (pageIndex + 1) + "\"></a>\n");</font><br /> <font color="#000000">鍦ㄨ繖孌典唬鐮佷箣鍚庡姞涓?/font><br /> <font color="#0000ff">writer.write("<div id='page"+ (pageIndex + 1)+"'>\n");</font><br /> <font color="#000000">鐒跺悗鎵懼埌婧愮爜涓殑</font><br /> <font color="#ff0000">exportPage(page);</font><br /> <font color="#000000">鍦ㄤ粬涔嬪悗鍔犱笂div鐨勭粨鏉熸爣蹇?/font><br /> <font color="#0000ff">writer.write("</div>\n");</font><br /> <font color="#000000">浠ヤ笂浠g爜钃濊壊閮ㄥ垎涓哄悗娣誨姞鐨勫唴瀹?/font><br /> <font color="#000000"><span id="attach_242" onmouseover="showMenu(this.id, 0, 1)" style="display: none; position: absolute"><img src="http://bbs.jatools.com/images/default/attachimg.gif" border="0" alt="" /></span> <img onmouseover="attachimginfo(this, 'attach_242', 1);attachimg(this, 'mouseover')" onmouseout="attachimginfo(this, 'attach_242', 0, event)" alt="" src="http://bbs.jatools.com/attachments/month_1006/20100624_bf81e83671c250f55f13qHAVokhpCG7F.png" onload="attachimg(this, 'load')" border="0" /> <div id="wmqeeuq" class="t_attach" id="attach_242_menu" style="display: none; position: absolute"><img class="absmiddle" alt="" src="http://bbs.jatools.com/images/attachicons/image.gif" border="0" /> <a target="_blank"><strong>2010-06-24_115143.png</strong></a> (15.94 KB)<br /> <div id="wmqeeuq" class="t_smallfont">2010-6-24 12:57</div> </div> <br /> </font><br /> <font color="#000000">淇敼涔嬪悗鐨勪唬鐮佸涓?/font><br /> <font color="#000000">writer.write("<a name=\"" + JR_PAGE_ANCHOR_PREFIX + reportIndex + "_" + (pageIndex + 1) + "\"></a>\n");<br />      <br />      <font color="#0000ff">writer.write("<div id='page"+ (pageIndex + 1)+"'>\n");<br /> </font>     </font><br /> <font color="#000000">      /*   */<br />       exportPage(page);<br />      <br />      </font><font color="#0000ff">writer.write("</div>\n");</font><br /> <font color="#000000">淇敼瀹岃繖浜涗箣鍚庢垜浠氨鎶?font color="#0000ff">jatoolsPrinter.cab</font>鏀懼湪欏圭洰涓環tml.jsp </font><br /> <font color="#000000"><font color="#0000ff"><OBJECT ID="jatoolsPrinter" CLASSID="CLSID:B43D3361-D975-4BE2-87FE-057188254255" <br /> codebase="jatoolsPrinter.cab#version=5,3,0,0"></OBJECT></font><br /> </font><br /> <font color="#000000">codebase鎸囧畾鐨勪綅緗繖閲屾寚瀹氱殑鏄拰html.jsp鍚屼竴<span id="wmqeeuq" class="t_tag" onclick="tagshow(event)" href="tag.php?name=%C2%B7%BE%B6">璺緞</span></font><br /> <font color="#000000"></font><span id="attach_243" onmouseover="showMenu(this.id, 0, 1)" style="display: none; position: absolute"><img src="http://bbs.jatools.com/images/default/attachimg.gif" border="0" alt="" /></span> <img onmouseover="attachimginfo(this, 'attach_243', 1);attachimg(this, 'mouseover')" onmouseout="attachimginfo(this, 'attach_243', 0, event)" alt="" src="http://bbs.jatools.com/attachments/month_1006/20100624_562b0d5d1e008cd8ce9af98Z9OnrZN1n.png" onload="attachimg(this, 'load')" border="0" /> <div id="wmqeeuq" class="t_attach" id="attach_243_menu" style="display: none; position: absolute"><img class="absmiddle" alt="" src="http://bbs.jatools.com/images/attachicons/image.gif" border="0" /> <a target="_blank"><strong>2010-06-24_115501.png</strong></a> (5.74 KB)<br /> <div id="wmqeeuq" class="t_smallfont">2010-6-24 12:57</div> </div> <br /> <font color="#000000">鐜板湪鎵撳紑IE 榪愯 demo</font><br /> <font color="#000000">絎竴嬈¤繍琛屼細鎻愮ず瀹夎jatoolsprinter鎺т歡 閫夋嫨瀹夎ActiveX鎺т歡</font><br /> <br /> <span id="attach_244" onmouseover="showMenu(this.id, 0, 1)" style="display: none; position: absolute"><img src="http://bbs.jatools.com/images/default/attachimg.gif" border="0" alt="" /></span> <img onmouseover="attachimginfo(this, 'attach_244', 1);attachimg(this, 'mouseover')" onmouseout="attachimginfo(this, 'attach_244', 0, event)" alt="" src="http://bbs.jatools.com/attachments/month_1006/20100624_5b11948a5e76e5ec03faO08C40o0Aci9.png" onload="attachimg(this, 'load')" border="0" /> <div id="wmqeeuq" class="t_attach" id="attach_244_menu" style="display: none; position: absolute"><img class="absmiddle" alt="" src="http://bbs.jatools.com/images/attachicons/image.gif" border="0" /> <a target="_blank"><strong>2010-06-24_115740.png</strong></a> (16.11 KB)<br /> <div id="wmqeeuq" class="t_smallfont">2010-6-24 12:57</div> </div> <br /> <font color="#000000">鐐瑰嚮瀹夎</font><br /> <br /> <span id="attach_245" onmouseover="showMenu(this.id, 0, 1)" style="display: none; position: absolute"><img src="http://bbs.jatools.com/images/default/attachimg.gif" border="0" alt="" /></span> <img onmouseover="attachimginfo(this, 'attach_245', 1);attachimg(this, 'mouseover')" onmouseout="attachimginfo(this, 'attach_245', 0, event)" alt="" src="http://bbs.jatools.com/attachments/month_1006/20100624_f0ab06385185f4c4f21c5U1LmKrfKSCL.png" onload="attachimg(this, 'load')" border="0" /> <div id="wmqeeuq" class="t_attach" id="attach_245_menu" style="display: none; position: absolute"><img class="absmiddle" alt="" src="http://bbs.jatools.com/images/attachicons/image.gif" border="0" /> <a target="_blank"><strong>2010-06-24_115843.png</strong></a> (14.6 KB)<br /> <div id="wmqeeuq" class="t_smallfont">2010-6-24 12:57</div> </div> <br /> <font color="#000000">鐐瑰嚮鎵撳嵃棰勮<span id="wmqeeuq" class="t_tag" onclick="tagshow(event)" href="tag.php?name=%D0%A7%B9%FB">鏁堟灉</span>濡備笅</font><br /> <font color="#000000"><span id="attach_246" onmouseover="showMenu(this.id, 0, 1)" style="left: 215px; position: absolute; top: 5745px"><img src="http://bbs.jatools.com/images/default/attachimg.gif" border="0" alt="" /></span> <img onmouseover="attachimginfo(this, 'attach_246', 1);attachimg(this, 'mouseover')" onmouseout="attachimginfo(this, 'attach_246', 0, event)" alt="" src="http://bbs.jatools.com/attachments/month_1006/20100624_16c3a623bb64e6dbeebfQVaOqJLX8CBb.png" onload="attachimg(this, 'load')" border="0" /> <div id="wmqeeuq" class="t_attach" id="attach_246_menu" style="display: none; position: absolute"><img class="absmiddle" alt="" src="http://bbs.jatools.com/images/attachicons/image.gif" border="0" /> <a target="_blank"><strong>2010-06-24_115948.png</strong></a> (12.77 KB)<br /> <div id="wmqeeuq" class="t_smallfont">2010-6-24 12:57</div> </div> <br /> <br /> <br /> 鍒版灝卞彲浠ュ湪web欏甸潰涓洿鎺ユ墦鍗癑asperreport 鎶ヨ〃浜嗐?br /> </font> <img src ="http://www.aygfsteel.com/three-3/aggbug/324329.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/three-3/" target="_blank">鏉ㄦ厱</a> 2010-06-24 13:08 <a href="http://www.aygfsteel.com/three-3/archive/2010/06/24/324329.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>綆琛?JOR)錛屽紑婧愭姤琛ㄥ伐鍏?/title><link>http://www.aygfsteel.com/three-3/archive/2009/10/23/299451.html</link><dc:creator>鏉ㄦ厱</dc:creator><author>鏉ㄦ厱</author><pubDate>Fri, 23 Oct 2009 02:32:00 GMT</pubDate><guid>http://www.aygfsteel.com/three-3/archive/2009/10/23/299451.html</guid><wfw:comment>http://www.aygfsteel.com/three-3/comments/299451.html</wfw:comment><comments>http://www.aygfsteel.com/three-3/archive/2009/10/23/299451.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://www.aygfsteel.com/three-3/comments/commentRss/299451.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/three-3/services/trackbacks/299451.html</trackback:ping><description><![CDATA[     鎽樿: 鍦╡clipse涓鍏or宸ョ▼ 綆琛?JOR),鏄竴嬈懼浗浜х殑寮婧恓ava鎶ヨ〃宸ュ叿,鏍稿績浠g爜鏉ヨ嚜浜庢澃琛?008. 璇︽儏璇瘋闂畼緗?www.jatools.com/jor   綆琛ㄧ殑閮ㄧ講鐜版彁渚涗袱縐嶆柟寮? 絎竴縐嶉氳繃 SVN 鐩存帴媯鍑哄埌ECLIPSE涓? SVN 鍦板潃 http://jatoolsopenreport.googlecode.com/svn/...  <a href='http://www.aygfsteel.com/three-3/archive/2009/10/23/299451.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/three-3/aggbug/299451.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/three-3/" target="_blank">鏉ㄦ厱</a> 2009-10-23 10:32 <a href="http://www.aygfsteel.com/three-3/archive/2009/10/23/299451.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">堆龙德庆县</a>| <a href="http://" target="_blank">侯马市</a>| <a href="http://" target="_blank">山西省</a>| <a href="http://" target="_blank">资中县</a>| <a href="http://" target="_blank">奇台县</a>| <a href="http://" target="_blank">成都市</a>| <a href="http://" target="_blank">海晏县</a>| <a href="http://" target="_blank">澎湖县</a>| <a href="http://" target="_blank">寻乌县</a>| <a href="http://" target="_blank">迁西县</a>| <a href="http://" target="_blank">读书</a>| <a href="http://" target="_blank">邵东县</a>| <a href="http://" target="_blank">长寿区</a>| <a href="http://" target="_blank">无棣县</a>| <a href="http://" target="_blank">保德县</a>| <a href="http://" target="_blank">内江市</a>| <a href="http://" target="_blank">津南区</a>| <a href="http://" target="_blank">成都市</a>| <a href="http://" target="_blank">互助</a>| <a href="http://" target="_blank">崇左市</a>| <a href="http://" target="_blank">乌什县</a>| <a href="http://" target="_blank">诸城市</a>| <a href="http://" target="_blank">平乡县</a>| <a href="http://" target="_blank">成都市</a>| <a href="http://" target="_blank">广平县</a>| <a href="http://" target="_blank">淮南市</a>| <a href="http://" target="_blank">洛扎县</a>| <a href="http://" target="_blank">敖汉旗</a>| <a href="http://" target="_blank">新邵县</a>| <a href="http://" target="_blank">洪江市</a>| <a href="http://" target="_blank">双柏县</a>| <a href="http://" target="_blank">黔西县</a>| <a href="http://" target="_blank">乌什县</a>| <a href="http://" target="_blank">和政县</a>| <a href="http://" target="_blank">堆龙德庆县</a>| <a href="http://" target="_blank">疏勒县</a>| <a href="http://" target="_blank">荣昌县</a>| <a href="http://" target="_blank">绍兴县</a>| <a href="http://" target="_blank">花莲县</a>| <a href="http://" target="_blank">新龙县</a>| <a href="http://" target="_blank">德江县</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>