隨筆 - 3, 文章 - 6, 評論 - 0, 引用 - 0
          數據加載中……

          2006年6月6日

          中文參數亂碼

          使用java.net.URLEncoder.encode()可以對要傳遞的中文進行編碼

          encode:
          word = java.net.URLEncoder.encode("中文字符","GB2312");

          decode:
          //request.setCharacterEncoding("GBK");
          ???String str=request.getParameter("word");
          ???str=java.net.URLDecoder.decode(str,"GB2312");
          ???str=new String(str.getBytes("ISO-8859-1"));

          posted @ 2006-11-13 14:48 drh0r 閱讀(278) | 評論 (0)編輯 收藏

          報表資料網址

          http://blog.chinaunix.net/article.php?articleId=49561&blogId=10060??????JasperReport Nosts

          http://blog.csdn.net/happy4nothing/archive/2004/11/23/192197.aspx??????JasperReport學習之路

          posted @ 2006-06-06 20:25 drh0r 閱讀(215) | 評論 (0)編輯 收藏

          JasperReports學習

          Parameter REPORT_DATASOURCE
          When filling a report, we always have a data source object either directly supplied by the parent
          application or created behind the scenes by the reporting engine when a JDBC connection is supplied.
          This built-in parameter will allow us access to the report's data source in the report expressions or in the
          scriptlets, for any reason we might have to do that.

          posted @ 2006-06-06 19:25 drh0r 閱讀(207) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 辽源市| 林甸县| 沁阳市| 洪洞县| 衡山县| 子洲县| 奇台县| 安泽县| 石景山区| 晋中市| 伊春市| 通渭县| 宜宾市| 舟山市| 界首市| 铜川市| 微山县| 清水河县| 丹寨县| 洞头县| 彭水| 南城县| 左贡县| 高阳县| 卫辉市| 庄浪县| 界首市| 廉江市| 南川市| 张家川| 东明县| 遂宁市| 尼玛县| 罗平县| 洱源县| 汉源县| 大英县| 长葛市| 漳浦县| 故城县| 买车|