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 長春語林科技 閱讀(194) 評論(0)  編輯  收藏 所屬分類: util
          <2009年1月>
          28293031123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

           

          長春語林科技歡迎您!

          常用鏈接

          留言簿(6)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 措勤县| 浦城县| 怀来县| 出国| 宿松县| 宽城| 洪雅县| 尚义县| 泉州市| 平泉县| 东海县| 黎川县| 沁阳市| 庐江县| 江西省| 延吉市| 兰考县| 桃江县| 丰台区| 合水县| 延长县| 隆昌县| 应城市| 新蔡县| 旅游| 扶绥县| 高安市| 寻甸| 旌德县| 东港市| 晋宁县| 永安市| 皋兰县| 奉贤区| 兴文县| 望谟县| 环江| 新竹市| 阳泉市| 普陀区| 海伦市|