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

          2006年11月13日

          中文參數亂碼

          使用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)編輯 收藏

          2006年6月6日

          報表資料網址

          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)編輯 收藏

          主站蜘蛛池模板: 花莲市| 河南省| 永胜县| 南昌县| 鄂托克前旗| 桃源县| 河曲县| 宁阳县| 石棉县| 龙陵县| 开江县| 衡东县| 利津县| 沭阳县| 江都市| 台安县| 习水县| 交口县| 曲靖市| 平山县| 郧西县| 乌兰县| 海宁市| 台江县| 库车县| 宝应县| 韶山市| 龙陵县| 积石山| 阳高县| 镇赉县| 弋阳县| 韶山市| 永福县| 綦江县| 揭东县| 津市市| 宁城县| 吉木乃县| 宜君县| 县级市|