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

          主站蜘蛛池模板: 鞍山市| 承德县| 沈阳市| 凤台县| 电白县| 大连市| 永泰县| 高平市| 阿巴嘎旗| 平昌县| 莒南县| 镇雄县| 奉新县| 渝中区| 赞皇县| 乡宁县| 西乌珠穆沁旗| 宁化县| 京山县| 沈丘县| 安阳县| 建阳市| 徐州市| 衡水市| 和平区| 九寨沟县| 黔江区| 唐海县| 洛阳市| 汝州市| 武强县| 广安市| 涟水县| 云梦县| 千阳县| 新河县| 中超| 霍山县| 剑阁县| 阿瓦提县| 淮阳县|