private String connectUrl() throws Exception, Exception {
		String strHtml = "", charSet = "";
		//̽ҳ
		charSet = getFileEncoding(new URL(this.webSite));
		//URLConnection
		URLConnection uc = new URL(this.webSite).openConnection();
		//IO󣬶ȡҳݣΪcharSet
		InputStream in = new BufferedInputStream(uc.getInputStream());
		StringBuffer temp = new StringBuffer();
	    Reader rd = new InputStreamReader(in,charSet);
	    int c = 0;
	    while ((c = rd.read()) != -1) {
	        temp.append((char) c);
	    }
	    in.close();
	    strHtml = temp.toString();
	    return strHtml;
	    /* 
	    File file = new File("D:\\caiji.html");  
        file.delete();  
        file.createNewFile();  
	    BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(  
                new FileOutputStream(file), "utf-8"));  
        writer.write(strHtml);  
        writer.close();*/
	}