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)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 泗洪县| 南安市| 温州市| 额济纳旗| 连南| 梁平县| 刚察县| 始兴县| 罗平县| 道孚县| 慈溪市| 栾川县| 石林| 于田县| 浑源县| 牡丹江市| 井冈山市| 鄢陵县| 通山县| 沂源县| 曲沃县| 牟定县| 隆安县| 公主岭市| 罗山县| 霍州市| 秦安县| 泰宁县| 台东县| 余姚市| 清涧县| 五台县| 甘洛县| 凉城县| 乳山市| 雅江县| 澄江县| 盐池县| 吴忠市| 奎屯市| 黄陵县|