隨筆 - 3, 文章 - 6, 評(píng)論 - 0, 引用 - 0
          數(shù)據(jù)加載中……

          2006年11月13日

          中文參數(shù)亂碼

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

          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 閱讀(284) | 評(píng)論 (0)編輯 收藏

          2006年6月6日

          報(bào)表資料網(wǎng)址

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

          http://blog.csdn.net/happy4nothing/archive/2004/11/23/192197.aspx??????JasperReport學(xué)習(xí)之路

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

          JasperReports學(xué)習(xí)

          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 閱讀(212) | 評(píng)論 (0)編輯 收藏

          主站蜘蛛池模板: 昌宁县| 建瓯市| 德清县| 彰武县| 阿拉善右旗| 周至县| 上杭县| 会宁县| 大田县| 五华县| 安龙县| 治多县| 景宁| 七台河市| 遵义市| 洪江市| 藁城市| 永宁县| 洛扎县| 楚雄市| 通城县| 济宁市| 昌乐县| 曲沃县| 乌鲁木齐县| 和田市| 望城县| 宁夏| 介休市| 理塘县| 抚松县| 府谷县| 嵊泗县| 名山县| 抚顺县| 云浮市| 晴隆县| 柏乡县| 湖北省| 沅江市| 新兴县|