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

          主站蜘蛛池模板: 来安县| 商南县| 闻喜县| 阳泉市| 开江县| 金山区| 噶尔县| 高雄县| 抚顺市| 日照市| 株洲县| 威海市| 郯城县| 汾阳市| 科技| 阳新县| 固镇县| 定兴县| 丘北县| 太仆寺旗| 壤塘县| 友谊县| 夏津县| 留坝县| 武安市| 克东县| 鄄城县| 惠来县| 乌鲁木齐县| 临沧市| 巴彦淖尔市| 青阳县| 修文县| 晴隆县| 贵定县| 浠水县| 武城县| 准格尔旗| 阿鲁科尔沁旗| 桓台县| 乐安县|