public static String getResult(String urlStr){
		URL url = null;
		HttpURLConnection connection = null;
		try {
			url = new URL(urlStr);
			connection = (HttpURLConnection) url.openConnection();
			connection.setDoOutput(true);
			connection.setDoInput(true);
			connection.setRequestMethod("GET");
			connection.setUseCaches(false);
			connection.connect();
			DataOutputStream out = new DataOutputStream(connection.getOutputStream());
			out.flush();
			out.close();
			
			BufferedReader reader = new BufferedReader(new InputStreamReader(connection
			.getInputStream(), "gb2312"));
			StringBuffer buffer = new StringBuffer();
			String line = "";

			while ((line = reader.readLine()) != null){
				buffer.append(line);
			}
			
			reader.close();
			return buffer.toString();
		}catch(IOException e){
			e.printStackTrace();
			System.out.println("Error Url:" + urlStr);
		}finally{
			if(connection != null){
				connection.disconnect();
			}
		}
		return null;
	}