摘要:
1.数字格式化(count为小于10000的数字,id为返回的字符串结果) DecimalFormat decimalFormat = new DecimalFormat("120000");id = decimalFormat.format(count); 阅读全文
posted @ 2012-11-24 12:07
仓木_宇
阅读(125)
评论(0)
推荐(0)
摘要:
URLurl=null;try{url=newURL("http://a.test.com/test.asp?action=get");}catch(MalformedURLExceptionex1){}HttpURLConnectionconnection=null;try{connection=(HttpURLConnection)url.openConnection();}catch(IOExceptionex2){ex2.printStackTrace();return;}BufferedReaderurlIn=null;try{urlIn=newBufferedR 阅读全文
posted @ 2012-11-24 11:33
仓木_宇
阅读(571)
评论(0)
推荐(0)
浙公网安备 33010602011771号