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)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 含山县| 得荣县| 淳安县| 金沙县| 香格里拉县| 成安县| 贺州市| 泗洪县| 仁布县| 北川| 孟连| 榆社县| 南开区| 达拉特旗| 启东市| 长乐市| 大石桥市| 聊城市| 兴文县| 奇台县| 天全县| 遂溪县| 诏安县| 成安县| 上思县| 满洲里市| 都江堰市| 赫章县| 哈尔滨市| 桑日县| 安丘市| 兴仁县| 阿尔山市| 铜梁县| 满城县| 化德县| 衢州市| 醴陵市| 常德市| 衡阳市| 林周县|