HttpURLConnection conn=(HttpURLConnection)url.openConnection(); if(conn.getResponseCode()==HttpURLConnection.HTTP_OK){ InputStream is=conn.getInputStream(); byte[]data=new byte[1024]; int len=is.read(data); result=new String(data,0,len); ...
www.dbjr.com.cn/article/421...htm 2025-5-28