public static String getHtml(String strUrl) {// ʹHttpURLConncetion ȡҳ
		// һַʽͨHttpClientҪⲿ⣬ûҺ
		StringBuffer html = new StringBuffer();
		try {
			// System.out.println(strUrl);
			String line;
			InputStream urlStream;
			URL objUrl = new java.net.URL(strUrl);
			HttpURLConnection connection = (java.net.HttpURLConnection) objUrl
					.openConnection();
			connection.setRequestProperty("User-agent", "IE/6.0");
			connection.setConnectTimeout(4000);
			connection.setReadTimeout(15000);
			connection.connect();
			urlStream = connection.getInputStream();
			java.io.BufferedReader reader = new java.io.BufferedReader(
					new java.io.InputStreamReader(urlStream, "UTF-8"));
			while ((line = reader.readLine()) != null) {
				html.append(line);
			}
		} catch (Exception e) {
			// getHtml(URLL);//쳣ִgetHtml
			return "";
		}
		return "";
	}