posts - 325,  comments - 25,  trackbacks - 0
          URL url = new URL("http://125.60.29.90/sp/jsp/culvoucher/CULRetrieveGrteFg.jsp?ssn='"+nmb.getUSER_REG_NUMBER()+"'"); 
            HttpURLConnection http = (HttpURLConnection) url.openConnection(); 
            http.connect(); 
            InputStream urlstream = http.getInputStream(); 
            BufferedReader l_reader = new BufferedReader(new InputStreamReader(urlstream)); 
            String currentLine=null;
            String totalstring=null;
            while ((currentLine = l_reader.readLine()) != null){
             totalstring += currentLine;
            }
            System.out.println("-------------"+totalstring);
            String target=null;
            if(totalstring.length()>1){
             target=totalstring.substring(4);
            }else{
             target=totalstring;
            }
            System.out.println(target);
          posted on 2009-01-22 22:23 長春語林科技 閱讀(196) 評論(0)  編輯  收藏 所屬分類: util
          <2009年1月>
          28293031123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

           

          長春語林科技歡迎您!

          常用鏈接

          留言簿(6)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 红河县| 柳河县| 穆棱市| 自贡市| 新沂市| 甘肃省| 清水河县| 中超| 苍梧县| 城市| 霸州市| 永和县| 项城市| 永顺县| 定陶县| 荔波县| 衡南县| 尉犁县| 六枝特区| 通州区| 华坪县| 淮滨县| 台前县| 绥中县| 定日县| 宁陵县| 宁夏| 林芝县| 金阳县| 永和县| 金堂县| 盐山县| 崇阳县| 墨玉县| 无为县| 衡山县| 云龙县| 玛多县| 克什克腾旗| 洪雅县| 屏边|