隨筆 - 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 閱讀(284) | 評論 (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 閱讀(220) | 評論 (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 閱讀(212) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 滕州市| 潢川县| 小金县| 延寿县| 高淳县| 桦甸市| 南木林县| 炎陵县| 柏乡县| 陕西省| 武强县| 焦作市| 泸西县| 微山县| 夏津县| 德江县| 射洪县| 来凤县| 鄄城县| 蒙城县| 保定市| 浮山县| 麻阳| 韶山市| 睢宁县| 延川县| 富裕县| 若尔盖县| 驻马店市| 夏河县| 庐江县| 大竹县| 买车| 肇源县| 饶平县| 普格县| 察雅县| 无为县| 神农架林区| 诸暨市| 望谟县|